Mirror: The spec-compliant minimum of client-side GraphQL.
1import { defineConfig } from 'vitest/config';
2
3export default defineConfig({
4 test: {
5 typecheck: {
6 enabled: true,
7 ignoreSourceErrors: true,
8 },
9 coverage: {
10 enabled: true,
11 provider: 'v8',
12 include: ['src'],
13 exclude: [
14 '**/__tests__/**',
15 '**/*.d.ts',
16 'src/ast.ts',
17 'src/index.ts',
18 'src/schemaAst.ts',
19 'src/types.ts',
20 'src/values.ts',
21 ],
22 thresholds: {
23 statements: 100,
24 functions: 100,
25 branches: 100,
26 },
27 },
28 globals: false,
29 clearMocks: true,
30 },
31});