Skip to content

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

499 B
Raw Blame
import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {
    silent: "passed-only",
    dir: "./src",
    include: ["**/*.test.ts"],
    pool: "forks",
    server: {
      deps: {
        // Process the Vertex provider through vite so vi.mock can replace its
        // google-auth-library import (externalized deps bypass the mock
        // registry) — required by the AI SDK request-shape tests.
        inline: ["@ai-sdk/google-vertex"],
      },
    },
  },
});