mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 00:04:37 +08:00
19 lines
390 B
JavaScript
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
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
});
|