Skip to content

Commit

Permalink
Added coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsAnd committed Nov 16, 2020
1 parent 980bef9 commit 7fa0ba9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ dist
npm-debug.log*
yarn-debug.log*
yarn-error.log*

coverage
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"test:lint": "standard ./src/**/*.js",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"test:coverage": "react-scripts test --env=jsdom --coverage",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"refresh": "rm -rf node_modules && rm package-lock.json && npm i"
Expand Down

0 comments on commit 7fa0ba9

Please sign in to comment.