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

vitest.config.ts

10 lines309 Bytes

1import { fileURLToPath } from 'node:url'
2import { defineConfig } from 'vitest/config'
3​
4export default defineConfig({
5 resolve: {
6 alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
7 },
8 esbuild: { jsx: 'automatic' },
9 test: { environment: 'jsdom', include: ['tests/**/*.test.tsx'] },
10})