mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Always collect coverage
But only set the threshold when running unit tests specifically. This way coverage for single classes can easily be tested.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
"test:deploy": "test/deploy/validate-package.sh",
|
||||
"test:ts": "tsc -p test --noEmit",
|
||||
"test:integration": "jest test/integration",
|
||||
"test:unit": "jest --collectCoverage test/unit",
|
||||
"test:unit": "jest --config=./jest.coverage.config.js test/unit",
|
||||
"test:watch": "jest --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",
|
||||
|
||||
Reference in New Issue
Block a user