fix: suppress vitest-pool-workers debug noise and hanging process

- Pre-declare Node.js compatibility flags in miniflare config to
  prevent [vpw:debug] messages during test runs
- Use --no-file-parallelism to fix dangling handle causing
  "close timed out" warning on exit
This commit is contained in:
2026-04-09 11:48:59 +07:00
parent 7949da3734
commit b72e984b0c
2 changed files with 10 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"test": "vitest run",
"test": "vitest run --no-file-parallelism",
"test:watch": "vitest"
},
"repository": {