Files
tonemark/vitest.config.ts
Giancarmine Salucci df50e74939
All checks were successful
Build & Push Docker Image / test (push) Successful in 12s
Build & Push Docker Image / build-and-push (push) Successful in 40s
test(vitest): serialize db-backed suites
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 23:29:31 +02:00

22 lines
424 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
environment: 'node',
globals: true,
fileParallelism: false,
include: ['src/tests/**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['src/lib/server/**/*.ts', 'src/routes/api/**/*.ts']
}
},
resolve: {
alias: {
'$lib': path.resolve('./src/lib')
}
}
});