1
0
Fork 0
forked from svrjs/svrjs

Add test coverage npm script and add "coverage" folder to .gitignore

This commit is contained in:
Dorian Niemiec 2024-08-30 22:18:22 +02:00
parent fdb3e32091
commit fb0da78488
2 changed files with 5 additions and 1 deletions

5
.gitignore vendored
View file

@ -9,4 +9,7 @@ generatedAssets
node_modules node_modules
package-lock.json package-lock.json
yarn.lock yarn.lock
bun.lockb bun.lockb
# Test coverage
coverage

View file

@ -9,6 +9,7 @@
"lint:fix": "npm run lint -- --fix", "lint:fix": "npm run lint -- --fix",
"start": "node dist/svr.js", "start": "node dist/svr.js",
"test": "jest", "test": "jest",
"test:coverage": "jest --coverage",
"test:middleware": "jest tests/middleware", "test:middleware": "jest tests/middleware",
"test:utils": "jest tests/utils" "test:utils": "jest tests/utils"
}, },