forked from svrjs/svrjs
Add test coverage npm script and add "coverage" folder to .gitignore
This commit is contained in:
parent
fdb3e32091
commit
fb0da78488
2 changed files with 5 additions and 1 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -9,4 +9,7 @@ generatedAssets
|
|||
node_modules
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
bun.lockb
|
||||
bun.lockb
|
||||
|
||||
# Test coverage
|
||||
coverage
|
|
@ -9,6 +9,7 @@
|
|||
"lint:fix": "npm run lint -- --fix",
|
||||
"start": "node dist/svr.js",
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:middleware": "jest tests/middleware",
|
||||
"test:utils": "jest tests/utils"
|
||||
},
|
||||
|
|
Reference in a new issue