mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
25 lines
501 B
JavaScript
25 lines
501 B
JavaScript
module.exports = {
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfig": "tsconfig.json"
|
|
}
|
|
},
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"testRegex": "/test/.*\\.ts$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
],
|
|
"testEnvironment": "node",
|
|
"collectCoverage": true,
|
|
// either we don't build the test files (but then eslint needs a separate tsconfig) or we do this
|
|
"testPathIgnorePatterns": [
|
|
".*\\.d\\.ts"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/"
|
|
]
|
|
};
|