mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-10-16 08:14:50 +00:00
build(deps): migrate to @cloudflare/vitest-plugin 1.x
@cloudflare/vitest-pool-workers was renamed to @cloudflare/vitest-plugin for its v1 release; the old name stopped at 0.22.0 with pinned vulnerable wrangler and miniflare versions. Vitest stays on 4: the plugin's peer range is still ^4.1.0.
This commit is contained in:
1 parent
c57a04a7cf
commit
83103b3b3b
4 files changed
+180
-959
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
import { cloudflarePool, cloudflareTest } from "@cloudflare/vitest-pool-workers";
|
||||
import { cloudflarePool, cloudflareTest } from "@cloudflare/vitest-plugin";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
@@ -8,7 +8,7 @@ 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
|
||||
// Pre-add flags so the Workers Vitest plugin doesn't emit debug noise
|
||||
compatibilityFlags: [
|
||||
"enable_nodejs_tty_module",
|
||||
"enable_nodejs_fs_module",
|
||||
|
||||
Reference in new issue
Block a user