:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
/// <reference types="vitest" />
import path from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig } from "vite";
import { trunkTestOptions } from "../../vitest.config.base";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
test: {
...trunkTestOptions,
coverage: {
all: true,
include: ["src/**/*"],
reporter: ["text", "cobertura", "html"],
reportsDirectory: path.resolve(__dirname, "./coverage/"),
},
},
});