waveterm/vitest.config.ts

23 lines
429 B
TypeScript
Raw Normal View History

2024-05-25 02:44:41 +02:00
import { defineConfig, mergeConfig } from "vitest/config";
import viteConfig from "./vite.config";
export default mergeConfig(
viteConfig,
defineConfig({
test: {
reporters: ["verbose", "junit"],
outputFile: {
junit: "test-results.xml",
},
coverage: {
provider: "istanbul",
reporter: ["lcov"],
reportsDirectory: "./coverage",
},
typecheck: {
tsconfig: "tsconfig.json",
},
},
})
);