Skip to content

Commit

Permalink
fixing coverage scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuignoto committed Aug 22, 2020
1 parent 8899586 commit f585788
Show file tree
Hide file tree
Showing 3 changed files with 1,409 additions and 1,239 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module.exports = {
testEnvironment: "node",
setupFilesAfterEnv: ["<rootDir>/src/setuptests.ts"],
collectCoverage: true,
coverageDirectory: "<rootDir>/coverage"
coverageDirectory: "<rootDir>/coverage",
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
"nanoid": "^3.1.12",
"react": "^16.13.1",
"react-dom": "npm:@hot-loader/react-dom",
"react-scripts": "3.4.3",
"react-scripts": "3.4.0",
"styled-components": "5.1.1",
"use-debounce": "^3.4.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:coverage": "react-scripts test a --coverage --watchAll=false",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down
Loading

0 comments on commit f585788

Please sign in to comment.