deepseek-harness/packages/host/directory-picker-native/tests
Huanqi Cao 00621f92d2 fix(picker): keep the worker-boundary mock off the vitest IPC channel
The mocked process.send consumed vitest's own fork-pool IPC messages and immediately ran the post callback, whose disconnect() severed the test worker's channel (process.connected is true under forks) — the whole spec's results vanished and win32-dialog-bindings.ts/win32-dialog-worker.ts fell to near-zero coverage on CI. The mock now records without invoking the callback or disconnecting; the real close lifecycle stays with built-worker.e2e.ts. Verified under both the threads and forks pools.
2026-08-05 00:31:43 +08:00
..
built-worker.e2e.ts refactor(picker): drive the Win32 dialog from a spawned child process 2026-08-05 00:31:43 +08:00
client-flow.spec.tsx test(host): cover the non-Error late-conflict wrap 2026-07-29 03:08:40 +08:00
native-picker.spec.ts refactor(picker): drop the Windows PowerShell fallback chain 2026-08-05 00:31:43 +08:00
service.spec.ts refactor(host): rename the directory-picker dialog backend and kind to native 2026-07-28 21:07:28 +08:00
win32-dialog-bindings.spec.ts fix(picker): keep the worker-boundary mock off the vitest IPC channel 2026-08-05 00:31:43 +08:00
win32-dialog-logic.spec.ts fix(picker): correct crash-isolation and DPI claims, wire the built-worker guard, and tidy round-four nits 2026-08-05 00:31:43 +08:00
win32-dialog.spec.ts refactor(picker): drive the Win32 dialog from a spawned child process 2026-08-05 00:31:43 +08:00