UNPKG

@ogcio/o11y-sdk-react

Version:

Opentelemetry standard instrumentation SDK for React based project

26 lines 790 B
import { defineConfig } from "vitest/config"; export default defineConfig({ test: { globals: true, watch: false, include: ["../sdk-core/test/**/*.test.ts", "**/*.test.ts"], exclude: ["**/fixtures/**", "**/dist/**", "**/node_modules/**"], poolOptions: { threads: { maxThreads: 8, }, }, clearMocks: true, testTimeout: 30_000, coverage: { enabled: true, provider: "v8", reportsDirectory: "coverage", reporter: ["lcov", "cobertura"], clean: true, }, reporters: ["default", ["junit", { outputFile: "test-report.xml" }]], environment: "jsdom", }, }); //# sourceMappingURL=vitest.config.js.map