import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {
    globals: true,
    environment: "node",
    include: ["src/**/*.test.ts"],
    coverage: {
      provider: "v8",
      reporter: ["text", "json-summary"],
      include: ["src/**/*.ts"],
      exclude: [
        "src/**/*.test.ts",
        "src/**/*.module.ts",
        "src/main.ts",
        "src/grpc/grpc-types.ts",
        "src/config/**",
        "src/shared/observability/**",
      ],
    },
  },
});
