Updating server package to always generate coverage report but don't display as text.

This commit is contained in:
mike12345567 2021-03-02 17:42:32 +00:00
parent 68bb5d5062
commit 37211e4e9d
1 changed files with 6 additions and 2 deletions

View File

@ -33,8 +33,7 @@
}, },
"scripts": { "scripts": {
"test": "jest --testPathIgnorePatterns=routes && npm run test:integration", "test": "jest --testPathIgnorePatterns=routes && npm run test:integration",
"test:integration": "jest routes --runInBand", "test:integration": "jest routes --runInBand --coverage",
"test:coverage": "jest routes --runInBand --coverage",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"run:docker": "node src/index", "run:docker": "node src/index",
"dev:builder": "cross-env PORT=4001 nodemon src/index.js", "dev:builder": "cross-env PORT=4001 nodemon src/index.js",
@ -54,6 +53,11 @@
"src/**/*.js", "src/**/*.js",
"!**/node_modules/**", "!**/node_modules/**",
"!src/db/views/*.js" "!src/db/views/*.js"
],
"coverageReporters": [
"lcov",
"json",
"clover"
] ]
}, },
"keywords": [ "keywords": [