test: vitest in Workers pool, 12 cases incl token redaction + CI

This commit is contained in:
tiennm99 committed 2026-05-09 11:29:07 +07:00
1 parent b26b101c9a
commit 1b9a6eba89
3 files changed
+212

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
export default defineWorkersConfig({
test: {
poolOptions: {
workers: {
wrangler: { configPath: './wrangler.toml' },
},
},
},
});