Skip to content

Commit

Permalink
Add a test coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Jul 18, 2024
1 parent f0fa5e1 commit 906bca6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"start": "export HTTPS=true && export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts start",
"build": "export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts build",
"test": "react-scripts test",
"test:coverage": "react-scripts test --coverage .",
"eject": "react-scripts eject",
"lint": "eslint --ext js,jsx,ts,tsx src/ && prettier --check src/",
"prepare": "husky install"
Expand Down Expand Up @@ -73,6 +74,9 @@
"prettier --write"
]
},
"jest": {
"coverageReporters": ["text", "html"]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
Expand Down

0 comments on commit 906bca6

Please sign in to comment.