mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
23 lines
429 B
TypeScript
23 lines
429 B
TypeScript
|
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",
|
||
|
},
|
||
|
},
|
||
|
})
|
||
|
);
|