my-finance-pal-backend/jest.config.ts
2023-04-04 11:55:49 +02:00

24 lines
No EOL
374 B
TypeScript

import { type Config } from "jest";
const config: Config = {
moduleFileExtensions: [
"js",
"json",
"ts"
],
rootDir: ".",
transform: {
"^.+\\.(t|j)s$": "ts-jest"
},
testEnvironment: "node",
roots: [
"<rootDir>/src/"
],
moduleDirectories: [
"node_modules",
"src"
],
setupFiles: ["./src/preStart.ts"]
}
export default config;