CommunitySolidServer/jest.config.js
smessie e8e96b903d
test: Write unit tests for CliRunner
* 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
2020-10-13 14:20:27 +02:00

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
}
}
};