mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-04-17 13:21:01 +00:00
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:
@@ -8,6 +8,15 @@ export default defineConfig({
|
||||
miniflare: {
|
||||
// Override remote KV with local-only for tests
|
||||
kvNamespaces: ["claude_status"],
|
||||
// Pre-add flags so vitest-pool-workers doesn't emit debug noise
|
||||
compatibilityFlags: [
|
||||
"enable_nodejs_tty_module",
|
||||
"enable_nodejs_fs_module",
|
||||
"enable_nodejs_http_modules",
|
||||
"enable_nodejs_perf_hooks_module",
|
||||
"enable_nodejs_v8_module",
|
||||
"enable_nodejs_process_v2",
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user