Files
electron/spec/_vitest_runner/package.json
Samuel Attard 7a446b0f84 build: add vitest runner infrastructure for Electron main-process tests
Adds spec/_vitest_runner/, a custom vitest pool that spawns each worker
as a full Electron main process (not a node-mode fork) so tests can use
real Electron APIs. Each worker gets a pool-owned mkdtemp userData dir
that is cleaned up on worker stop. File-level parallelism is enabled;
intra-file concurrency stays off to match current mocha behaviour.

Run with: yarn test:vitest
2026-04-13 00:58:55 -07:00

7 lines
127 B
JSON

{
"name": "electron-vitest-poc",
"productName": "Electron Vitest POC",
"version": "0.1.0",
"main": "worker-entry.js"
}