summaryrefslogtreecommitdiffhomepage
path: root/vitest.config.ts
blob: 17aea34a399613f579d84818d62ae1ae5133950a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    include: ['src/**/*.test.ts', 'tests/**/*.test.ts'],
    coverage: {
      provider: 'v8',
      include: ['src/**/*.ts'],
      exclude: [
        'src/**/*.test.ts',
        'src/index.ts',
        'src/deploy-commands.ts',
      ],
    },
  },
});