mirror of
https://github.com/michivonah/themepark-assistant.git
synced 2025-12-22 22:16:29 +01:00
install vitest #3
This commit is contained in:
parent
1729766d06
commit
43580e1036
10 changed files with 2199 additions and 119 deletions
13
api/vitest.config.ts
Normal file
13
api/vitest.config.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";
|
||||
|
||||
export default defineWorkersConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
// setupFiles: ['./tests/vitest.setup.ts'],
|
||||
poolOptions: {
|
||||
workers: {
|
||||
wrangler: { configPath: "./wrangler.jsonc" },
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue