Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Commit 5a200ed

Browse files
hudgeonclaude
andcommitted
Use basic vitest config for unit tests
Unit tests don't need Workers runtime - use standard vitest. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4b1b39b commit 5a200ed

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

vitest.config.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config'
1+
import { defineConfig } from 'vitest/config'
22

3-
export default defineWorkersConfig({
3+
export default defineConfig({
44
test: {
55
globals: true,
6-
poolOptions: {
7-
workers: {
8-
wrangler: { configPath: './wrangler.toml' },
9-
},
10-
},
6+
include: ['**/*.test.ts'],
117
},
128
})

0 commit comments

Comments
 (0)