- Implemented end-to-end integration tests covering database reset, bootstrap admin creation, demo user provisioning, scenario installation, and general creation. - Added support for deterministic seeding and auto admin general creation. - Created a new package for integration tests with necessary configurations and scripts. - Updated various modules to support new features, including admin user handling and scenario seeding. - Enhanced error handling and validation in the join and orchestrator modules.
19 lines
438 B
TypeScript
19 lines
438 B
TypeScript
import path from 'node:path';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tsconfigPaths({
|
|
projects: [path.resolve(__dirname, '../../tsconfig.paths.json')],
|
|
}),
|
|
],
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
include: ['test/**/*.test.ts'],
|
|
testTimeout: 120_000,
|
|
},
|
|
});
|