From 52b6e8ea42c69d76055ffca125cb18d829451f74 Mon Sep 17 00:00:00 2001 From: webreflection Date: Wed, 2 Sep 2026 15:50:33 +0200 Subject: [PATCH] docs(vscode): explain dialog model test harness --- .../kilo-vscode/tests/unit/new-worktree-dialog-sandbox.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/kilo-vscode/tests/unit/new-worktree-dialog-sandbox.test.ts b/packages/kilo-vscode/tests/unit/new-worktree-dialog-sandbox.test.ts index 1e7233186ea..dc6a5d4a6e6 100644 --- a/packages/kilo-vscode/tests/unit/new-worktree-dialog-sandbox.test.ts +++ b/packages/kilo-vscode/tests/unit/new-worktree-dialog-sandbox.test.ts @@ -36,6 +36,9 @@ describe("NewWorktreeDialog base branch", () => { }) }) +// Evaluates each scenario with shared fixtures and the real model helpers in a fresh Bun process. +// Isolated module loading forces Solid's browser build instead of its non-reactive SSR build. +// The child's exit code propagates scenario assertion failures to the calling test. function check(code: string) { const cwd = join(__dirname, "..", "..", "webview-ui") const script = `