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:
tiennm99 committed 2026-04-09 11:48:59 +07:00
1 parent 7949da3734
commit b72e984b0c
2 files changed
+10 -1

No files matched your search

+1 -1
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": {