@midware/mauth
Version:
A simple auth middleware for Node.js
20 lines (19 loc) • 514 B
JSON
{
"preset": "ts-jest",
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.jest.json"
}
},
"testEnvironment": "node",
"roots": ["<rootDir>/test/integration"],
"testMatch": ["**/__test__/**/*.+(ts|tsx)", "**/?(*.)+(spec|test).+(ts|tsx)"],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"clearMocks": true,
"collectCoverage": true,
"collectCoverageFrom": ["source/**"],
"coverageDirectory": "test/integration/coverage",
"setupFilesAfterEnv": ["./test/integration/setup.ts"]
}