Describe the solution
@cloudflare/vitest-pool-workers bundles vitest/worker in order to run the Vitest runner inside workerd, but @voidzero-dev/vite-plus-test does not expose that subpath, so at runtime it fails with No such module "vitest/worker".`
Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
Error: [vitest-pool]: Failed to start cloudflare-pool worker for test files /Users/yoshikawatakumi/dev/amitoco/apps/api/src/index.test.ts.
❯ ../../node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.13_@opentelemetry+api@1.9.0_@types+node@24.12.0_esbuil_d56179fe1baeee4f5c79fc70199bbcdf/node_modules/@voidzero-dev/vite-plus-test/dist/chunks/cli-api.DuT9iuvY.js:3454:98
❯ processTicksAndRejections node:internal/process/task_queues:104:5
❯ Pool.schedule ../../node_modules/.pnpm/@voidzero-dev+vite-plus-test@0.1.13_@opentelemetry+api@1.9.0_@types+node@24.12.0_esbuil_d56179fe1baeee4f5c79fc70199bbcdf/node_modules/@voidzero-dev/vite-plus-test/dist/chunks/cli-api.DuT9iuvY.js:3454:9
Caused by: Error: No such module "vitest/worker".
❯ ProxyServer.fetch ../../node_modules/.pnpm/miniflare@4.20260317.1/node_modules/miniflare/src/workers/core/proxy.worker.ts:174:11
Describe the solution
@cloudflare/vitest-pool-workers bundles vitest/worker in order to run the Vitest runner inside workerd, but @voidzero-dev/vite-plus-test does not expose that subpath, so at runtime it fails with No such module "vitest/worker".`