Files
dotfiles/dot_claude/skills/turnstile-spin/templates/worker/vitest.config.ts
T

12 lines
364 B
TypeScript
Raw Normal View History

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'],
},
});