monkeytype/backend/vitest.config.js
Christian Fehmer 9bdbf5c595
test: replace jest with vitest on backend (fehmer) (#5314)
* test: replace jest with vitest on backend

* fix
2024-04-17 13:39:10 +02:00

20 lines
404 B
JavaScript

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