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

vitest.config.ts

16 lines340 Bytes

1import { fileURLToPath } from 'node:url'
2import { defineConfig } from 'vitest/config'
3​
4export default defineConfig({
5 resolve: {
6 alias: {
7 '@': fileURLToPath(new URL('./src', import.meta.url)),
8 },
9 },
10 test: {
11 name: 'ts-react-media',
12 environment: 'node',
13 include: ['src/**/*.test.ts'],
14 watch: false,
15 },
16})