[INFO 11:59:12] [Vitest] Extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 11:59:12] [API] Running Vitest: v1.4.0 (/Users/dkMaLyLo/Documents/tmp/vscode/samples/basic/vitest.config.ts)
[Worker] root /Users/dkMaLyLo/Documents/tmp/vscode/samples/basic
[INFO 11:59:12] [API] Vitest process 12024 created
[Worker] Starting inspector on 127.0.0.1:53040 failed: address already in use
[Error 11:59:14] [API] [Error Error] write EPIPE
Error: write EPIPE
at ChildProcess._send (node:internal/child_process:865:20)
at ChildProcess.send (node:internal/child_process:738:19)
at post (/Users/dkMaLyLo/Documents/tmp/vscode/src/api/rpc.ts:101:16)
at ChildProcess.<anonymous> (/Users/dkMaLyLo/Documents/tmp/vscode/node_modules/.pnpm/birpc@0.2.17/node_modules/birpc/dist/index.mjs:77:9)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[Worker]
⎯ Error during global setup ⎯⎯
Error: This is a global setup error.
❯ Object.setup global-setup.ts:2:9
1| export default async function () {
2| throw new Error('This is a global setup error.')
| ^
3| };
❯ rerunTests ../../dist/worker.js:929:5
❯ runTests ../../dist/worker.js:938:9
❯ Proxy.collectTests ../../dist/worker.js:973:7
❯ process.<anonymous> ../../dist/worker.js:852:20
Describe the bug
See these logs:
Reproduction
System Info
Used Package Manager
pnpm
Validations