Files
holiday-property-booking/vitest.config.ts
Chris Dumas d1314f2181
Some checks failed
Deploy Holiday Property Booking / deploy (push) Failing after 4m54s
Playwright Holiday Property Booking / playwright (push) Failing after 2m32s
Test & Build Holiday Property Booking / test-build (push) Successful in 1m44s
Add booking checkout and webhook coverage
2026-05-26 09:08:43 +00:00

20 lines
374 B
TypeScript

import path from 'node:path';
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
esbuild: {
jsx: 'automatic',
},
test: {
environment: 'node',
restoreMocks: true,
clearMocks: true,
include: ['src/**/*.test.ts', 'src/**/*.test.tsx'],
},
});