mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-07 20:47:37 +00:00
12 lines
364 B
TypeScript
12 lines
364 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
// We run unit tests under Node (mocking fetch) and integration tests
|
||
|
|
// hit real network. Workers test pool would let us run against the
|
||
|
|
// real Workers runtime; defer that to fast-follow.
|
||
|
|
environment: 'node',
|
||
|
|
include: ['test/**/*.test.ts'],
|
||
|
|
},
|
||
|
|
});
|