mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
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
7 lines
127 B
JSON
7 lines
127 B
JSON
{
|
|
"name": "electron-vitest-poc",
|
|
"productName": "Electron Vitest POC",
|
|
"version": "0.1.0",
|
|
"main": "worker-entry.js"
|
|
}
|