๐Ÿ“ฆ cloudflare / moltworker

๐Ÿ“„ vitest.config.ts ยท 16 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16import { defineConfig } from 'vitest/config'

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    include: ['src/**/*.test.ts'],
    exclude: ['src/client/**'],
    coverage: {
      provider: 'v8',
      reporter: ['text', 'html'],
      exclude: ['src/client/**', 'node_modules/**', '**/*.test.ts'],
    },
  },
})