mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Only check coverage on unit tests.
This commit is contained in:
parent
dafc844007
commit
12cb26fe1e
@ -14,7 +14,6 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
setupFilesAfterEnv: [ 'jest-rdf', '<rootDir>/test/util/SetupTests.ts' ],
|
setupFilesAfterEnv: [ 'jest-rdf', '<rootDir>/test/util/SetupTests.ts' ],
|
||||||
collectCoverage: true,
|
|
||||||
coveragePathIgnorePatterns: [
|
coveragePathIgnorePatterns: [
|
||||||
'/dist/',
|
'/dist/',
|
||||||
'/node_modules/',
|
'/node_modules/',
|
||||||
|
@ -54,8 +54,8 @@
|
|||||||
"test": "npm run test:ts && npm run jest",
|
"test": "npm run test:ts && npm run jest",
|
||||||
"test:deploy": "test/deploy/validate-package.sh",
|
"test:deploy": "test/deploy/validate-package.sh",
|
||||||
"test:ts": "tsc -p test --noEmit",
|
"test:ts": "tsc -p test --noEmit",
|
||||||
"test:integration": "jest --coverageThreshold '{}' test/integration",
|
"test:integration": "jest test/integration",
|
||||||
"test:unit": "jest test/unit",
|
"test:unit": "jest --collectCoverage test/unit",
|
||||||
"validate": "componentsjs-compile-config urn:solid-server:default:Initializer -c config/config-default.json -f > /dev/null",
|
"validate": "componentsjs-compile-config urn:solid-server:default:Initializer -c config/config-default.json -f > /dev/null",
|
||||||
"version": "manual-git-changelog onversion",
|
"version": "manual-git-changelog onversion",
|
||||||
"watch": "nodemon --watch \"dist/**/*.js\" --exec npm start"
|
"watch": "nodemon --watch \"dist/**/*.js\" --exec npm start"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user