mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-04 05:38:55 +08:00
15 lines
416 B
TypeScript
15 lines
416 B
TypeScript
import { defineConfig, UserWorkspaceConfig } from "vitest/config";
|
|
import { projects as backendProjects } from "./backend/vitest.config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
projects: [
|
|
...backendProjects.map(
|
|
(it) =>
|
|
({ test: { ...it.test, root: "backend" } } as UserWorkspaceConfig)
|
|
),
|
|
"frontend/vitest.config.ts",
|
|
"packages/**/vitest.config.ts",
|
|
],
|
|
},
|
|
});
|