Files
http-server-drf/vitest.config.ts
2025-03-11 08:16:29 -04:00

26 lines
565 B
TypeScript

import { defineConfig } from "vitest/config";
/**
* Default Config For all TypeSpec projects using vitest.
*/
const defaultTypeSpecVitestConfig = defineConfig({
test: {
environment: "node",
isolate: false,
coverage: {
reporter: ["cobertura", "json", "text"],
},
outputFile: {
junit: "./test-results.xml",
},
exclude: ["node_modules", "dist/test"],
},
server: {
watch: {
ignored: [],
},
},
});
export default defaultTypeSpecVitestConfig;