Skip to content

Commit da0c13a

Browse files
test(evals): only run eval sources, not their built copies (#1408)
The build compiles evals into `dist/`, which the vitest include glob also matched, so every eval ran twice locally and in CI. This scopes the glob to `src/`. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c2cd6a2 commit da0c13a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/mcp-server-evals/vitest.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from "vitest/config";
33

44
export default defineConfig({
55
test: {
6-
include: ["**/*.eval.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
6+
include: ["src/**/*.eval.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
77
reporters: ["vitest-evals/reporter"],
88
coverage: {
99
provider: "v8",

0 commit comments

Comments
 (0)