Skip to content

Commit af96144

Browse files
committed
💚 test fix to circleci config.yml
1 parent 17131a2 commit af96144

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
key: robofriends-cache-v1-{{ checksum "package-lock.json" }}
2626
paths:
2727
- /home/circleci/repo/.npm # this is where the npm cache is stored when we use npm ci
28-
- run: react-scripts test --coverage --watchAll=false
28+
- run: npm run coverage
2929
upload-test-coverage:
3030
<<: *defaults
3131
steps:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"start": "react-scripts start",
3737
"build": "react-scripts build",
3838
"test": "react-scripts test",
39+
"coverage": "react-scripts test --coverage --watchAll=false",
3940
"eject": "react-scripts eject"
4041
},
4142
"eslintConfig": {

0 commit comments

Comments
 (0)