Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(vitest): Enable "silent: passed-only" by default (#14970)

Ben Bachemab8e5a731d42
diff --git a/packages/shared/vitest.config.ts b/packages/shared/vitest.config.ts
index cf12b8fcbf..182e990dff 100644
--- a/packages/shared/vitest.config.ts
+++ b/packages/shared/vitest.config.ts
@@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
+ silent: "passed-only",
dir: "./src",
include: ["**/*.test.ts"],
pool: "forks",
diff --git a/web/vitest.config.mts b/web/vitest.config.mts
index d597b9cf73..3036ec6c48 100644
--- a/web/vitest.config.mts
+++ b/web/vitest.config.mts
@@ -68,7 +68,7 @@ export default defineConfig({
reporters: process.env.CI
? ["default", new VitestCiReporter()]
: ["default"],
- silent: process.env.CI ? "passed-only" : false,
+ silent: "passed-only",
globals: true,
retry: process.env.CI ? 3 : 0,
// Servertests are DB-roundtrip bound, so hundreds cross the default 300ms
diff --git a/worker/vitest.config.ts b/worker/vitest.config.ts
index 40abc09b1a..72bc938a9d 100644
--- a/worker/vitest.config.ts
+++ b/worker/vitest.config.ts
@@ -10,7 +10,7 @@ export default defineConfig({
reporters: process.env.CI
? ["default", new VitestCiReporter()]
: ["default"],
- silent: process.env.CI ? "passed-only" : false,
+ silent: "passed-only",
retry: process.env.CI ? 3 : 0,
// Worker tests are DB-roundtrip bound, so many cross the default 300ms
// slow threshold on CI and the default reporter prints a line for each.