import { defineConfig } from 'vitest/config'; import { fileURLToPath } from 'node:url'; export default defineConfig({ resolve: { alias: { '@shared': fileURLToPath(new URL('./shared', import.meta.url)), }, }, test: { environment: 'node', include: ['tests/**/*.test.ts', 'server/**/*.test.ts', 'shared/**/*.test.ts'], testTimeout: 20000, pool: 'forks', }, });