Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

vitest.config.ts

22 lines461 Bytes

1import { defineConfig } from 'vitest/config'
2​
3export default defineConfig({
4 test: {
5 globals: true,
6 environment: 'node',
7 include: ['tests/**/*.test.ts'],
8 coverage: {
9 provider: 'v8',
10 reporter: ['text', 'json', 'html', 'lcov'],
11 exclude: [
12 'node_modules/',
13 'dist/',
14 'tests/',
15 '**/*.test.ts',
16 '**/*.config.ts',
17 '**/types.ts',
18 ],
19 include: ['src/**/*.ts'],
20 },
21 },
22})