monkeytype/frontend/vitest.config.js
Christian Fehmer b20df42f2f
test: replace jest with vitest on frontend (fehmer) (#5105)
* test: replace jest with vitest on frontend

* vscode config

* use prettier to format modfifications on save
2024-02-26 12:23:50 +01:00

19 lines
390 B
JavaScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
environment: "happy-dom",
setupFiles: ["__tests__/setup-tests.ts"],
coverage: {
include: ["**/*.ts"],
provider: "istanbul",
reporter: [
"text", // For the terminal
"lcov", // For the VSCode extension and browser
],
},
},
});