mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Only show coverage details with unit tests.
This commit is contained in:
parent
93e53b3d24
commit
6346760d1d
@ -15,6 +15,7 @@ module.exports = {
|
||||
testEnvironment: 'node',
|
||||
setupFilesAfterEnv: [ 'jest-rdf', '<rootDir>/test/util/SetupTests.ts' ],
|
||||
collectCoverage: true,
|
||||
coverageReporters: [ 'text', 'lcov' ],
|
||||
coveragePathIgnorePatterns: [
|
||||
'/dist/',
|
||||
'/node_modules/',
|
||||
|
@ -47,7 +47,7 @@
|
||||
"docker:start": "./test/docker/docker-start.sh",
|
||||
"docker:stop": "./test/docker/docker-stop.sh",
|
||||
"docs": "typedoc",
|
||||
"jest": "jest",
|
||||
"jest": "jest --coverageReporters text-summary --",
|
||||
"lint": "eslint . --cache --ignore-path .gitignore",
|
||||
"prepare": "npm run build",
|
||||
"start": "node ./bin/server.js",
|
||||
@ -55,9 +55,9 @@
|
||||
"test": "npm run test:ts && npm run jest",
|
||||
"test:deploy": "test/deploy/validate-package.sh",
|
||||
"test:ts": "tsc -p test --noEmit",
|
||||
"test:integration": "jest test/integration",
|
||||
"test:integration": "jest --coverageReporters text-summary -- test/integration",
|
||||
"test:unit": "jest --config=./jest.coverage.config.js test/unit",
|
||||
"test:watch": "jest --watch test/unit",
|
||||
"test:watch": "jest --coverageReporters none --watch test/unit",
|
||||
"validate": "componentsjs-compile-config urn:solid-server:default:Initializer -c config/config-default.json -f > /dev/null",
|
||||
"version": "manual-git-changelog onversion",
|
||||
"watch": "nodemon --watch \"dist/**/*.js\" --exec npm start"
|
||||
|
Loading…
x
Reference in New Issue
Block a user