mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
88a587c5c2
* Switch to ts-node-dev for development * Minimal setup for backend testing * Basic controller test * __tests__ directory * Delete old DB client * Improve tests, ensure DB cleanup only runs for inMemory DB
7 lines
197 B
TypeScript
7 lines
197 B
TypeScript
import { defaults as tsjPreset } from "ts-jest/presets";
|
|
|
|
export default {
|
|
preset: "@shelf/jest-mongodb",
|
|
transform: tsjPreset.transform,
|
|
setupFilesAfterEnv: ["<rootDir>/setup-tests.ts"],
|
|
};
|