Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Jun 8, 2021
1 parent 8ad2fd4 commit 1c28b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: codecov/codecov-action@v1
- run: yarn test --coverage # Run test
- run: npm run coverage # Run test
- run: bash <(curl -s https://codecov.io/bash) # Upload to Codecov
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build": "craco build",
"test": "craco test --watchAll=false",
"test:watch": "craco test",
"coverage": "craco test --coverage --watchAll=false",
"coverage": "craco test --watchAll=false --coverage",
"eject": "craco eject",
"lint": "eslint src --ext js",
"format": "prettier --write \"**/*.+(js|json|css|html)\"",
Expand Down Expand Up @@ -66,7 +66,7 @@
},
"jest": {
"collectCoverageFrom": [
"src/components/*.tsx",
"src/components/*.js",
"!<rootDir>/node_modules/**/*",
"!<rootDir>/src/setupTests*"
],
Expand Down

1 comment on commit 1c28b0f

@vercel
Copy link

@vercel vercel bot commented on 1c28b0f Jun 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.