waveterm/vitest.config.ts

23 lines
633 B
TypeScript
Raw Permalink Normal View History

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