13 lines
536 B
TypeScript
13 lines
536 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: { alias: { "@agent-studio/shared": path.resolve("packages/shared/src/index.ts"), "@agent-studio/harness": path.resolve("packages/harness/src/index.ts") } },
|
|
test: {
|
|
include: ["packages/*/tests/**/*.test.ts", "apps/*/tests/**/*.{test,spec}.{ts,tsx}"],
|
|
environmentMatchGlobs: [["apps/web/tests/**", "jsdom"]],
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
coverage: { reporter: ["text", "json-summary"] }
|
|
}
|
|
});
|