Add booking checkout and webhook coverage
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

This commit is contained in:
2026-05-26 09:08:43 +00:00
parent 0aaba14300
commit d1314f2181
9 changed files with 2753 additions and 3 deletions

19
vitest.config.ts Normal file
View File

@@ -0,0 +1,19 @@
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'],
},
});