mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
9bdbf5c595
* test: replace jest with vitest on backend * fix
20 lines
404 B
JavaScript
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
|
|
],
|
|
},
|
|
},
|
|
});
|