mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

* test: Write unit tests for CliRunner * test: fix Loader mock and add new mock and test * test: Put function definition in beforeEach * test: Add comments to code * refactor: Move outsideResolve to setup call
30 lines
535 B
JavaScript
30 lines
535 B
JavaScript
module.exports = {
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfig": "tsconfig.json"
|
|
}
|
|
},
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"testRegex": "/test/.*\\.test\\.ts$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
],
|
|
"testEnvironment": "node",
|
|
"setupFilesAfterEnv": ["jest-rdf"],
|
|
"collectCoverage": true,
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"coverageThreshold": {
|
|
"./src": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
}
|
|
};
|