mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-11 17:16:40 +08:00
- **test: support to run/watch all tests in vscode (@fehmer)** - **packages/contracts** - **move schema tests to schema package** - **packages/funbox** - **packages/utils** - **frontend** - **backend** --------- Co-authored-by: Miodec <jack@monkeytype.com>
20 lines
386 B
TypeScript
20 lines
386 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "happy-dom",
|
|
globalSetup: "__tests__/global-setup.ts",
|
|
setupFiles: ["__tests__/setup-tests.ts"],
|
|
|
|
coverage: {
|
|
include: ["**/*.ts"],
|
|
},
|
|
deps: {
|
|
optimizer: {
|
|
web: {
|
|
include: ["@monkeytype/funbox"],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|