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;