From 66e8dac28a2ccbea35f340e19e4a0e6768eabc67 Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Sat, 7 Dec 2024 14:59:34 +0000 Subject: [PATCH] Made all evalite tests run simultaneously by default. --- .changeset/dull-files-sin.md | 5 +++++ packages/evalite/src/run-vitest.ts | 3 +++ turbo.json | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/dull-files-sin.md diff --git a/.changeset/dull-files-sin.md b/.changeset/dull-files-sin.md new file mode 100644 index 0000000..6e3b63f --- /dev/null +++ b/.changeset/dull-files-sin.md @@ -0,0 +1,5 @@ +--- +"evalite": minor +--- + +Made all evalite tests run simultaneously by default. diff --git a/packages/evalite/src/run-vitest.ts b/packages/evalite/src/run-vitest.ts index 0046bd3..fed29cb 100644 --- a/packages/evalite/src/run-vitest.ts +++ b/packages/evalite/src/run-vitest.ts @@ -34,6 +34,9 @@ export const runVitest = async (opts: { root: opts.cwd, include: ["**/*.eval.{js,ts}"], watch: opts.mode === "watch-for-file-changes", + sequence: { + concurrent: true, + }, reporters: [ new EvaliteReporter({ jsonDbLocation, diff --git a/turbo.json b/turbo.json index ab9ba5b..b02d7ab 100644 --- a/turbo.json +++ b/turbo.json @@ -18,7 +18,7 @@ }, "test": { "dependsOn": ["^build"], - "outputs": ["evalite-report.jsonl"], + "outputs": [], "cache": true }, "build": {