test setup
Scaffold a test harness: Vitest config, a sample test, and vscode/RPC mock helpers.
vsceasy test setupFlags
| Flag | Type | Notes |
|---|---|---|
--force | boolean | Overwrite existing test files. |
What it generates
- A Vitest config.
- A sample test under
src/__tests__/. - Mock helpers for the
vscodeAPI and the RPC bridge, so you can unit-test panel handlers and services without a running extension host.
bun run test # vitest runbun run test:watch # vitest