Files
GMW/vitest.config.ts
T
MythEclipse f224be2a66 Refactor test database setup and add migrations
- Updated test files to use a separate test database configuration.
- Introduced a new helper module for managing test database operations.
- Added a setup file to configure the environment for tests.
- Created new database migration scripts to optimize message indexing.
- Added a sample environment file for test database configuration.
2026-05-31 16:32:38 +07:00

14 lines
287 B
TypeScript

import { config } from "dotenv";
import { defineConfig } from "vitest/config";
config({ path: ".env.test" });
export default defineConfig({
test: {
environment: "node",
fileParallelism: false,
include: ["tests/**/*.test.ts"],
setupFiles: ["tests/setup.ts"],
},
});