vitest.config.ts 364 B

123456789101112
  1. import { defineConfig } from 'vitest/config';
  2. export default defineConfig({
  3. test: {
  4. globals: true,
  5. // We run unit tests under Node (mocking fetch) and integration tests
  6. // hit real network. Workers test pool would let us run against the
  7. // real Workers runtime; defer that to fast-follow.
  8. environment: 'node',
  9. include: ['test/**/*.test.ts'],
  10. },
  11. });