feat: Enhance reservation functionality

This commit is contained in:
2026-04-22 10:23:22 -04:00
parent 7f1e82acc2
commit 534d66c774
25 changed files with 1236 additions and 91 deletions

View File

@@ -1,15 +1,20 @@
import { defineConfig } from 'vitest/config'
import { loadEnv } from 'vite'
export default defineConfig({
test: {
environment: 'node',
include: ['tests/integration/**/*.test.ts'],
testTimeout: 30000,
typecheck: { tsconfig: './tests/tsconfig.json' },
},
resolve: {
alias: {
'~': new URL('./app', import.meta.url).pathname,
export default defineConfig(({ mode }) => {
const env = loadEnv(mode ?? 'test', process.cwd(), '')
return {
test: {
environment: 'node',
include: ['tests/integration/**/*.test.ts'],
testTimeout: 30000,
typecheck: { tsconfig: './tests/tsconfig.json' },
env,
},
},
resolve: {
alias: {
'~': new URL('./app', import.meta.url).pathname,
},
},
}
})