Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Update config files for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonlal committed Nov 25, 2020
1 parent de650c0 commit ddc9ed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module.exports = {
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$',
moduleFileExtensions: ['ts', 'js', 'jsx', 'json', 'node'],
collectCoverage: true,
coverageDirectory: "./coverage",
coverageThreshold: {
global: {
branches: 90,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"prebuild": "rm -rf dist",
"build": "tsc -p tsconfig.json",
"lint": "prettier --write lib",
"test": "jest --coverage"
"test": "jest --config ./jest.config.js"
},
"dependencies": {
"rate-limiter-flexible": "2.1.10"
Expand Down

0 comments on commit ddc9ed1

Please sign in to comment.