Skip to content

Commit 1cc17e2

Browse files
committed
chore: test scripts
1 parent f359d4c commit 1cc17e2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ jobs:
114114
- name: Build
115115
run: yarn build
116116

117-
- name: Test
118-
run: yarn test
117+
- name: Test and Generate Coverage
118+
run: yarn coverage
119119

120120
- name: Upload Coverage to Codecov
121121
uses: codecov/codecov-action@v1

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
"scripts": {
1212
"build": "babel src -d build",
1313
"lint": "eslint --ext .js .",
14-
"test": "jest --coverage",
15-
"test-watch": "jest --watch --coverage"
14+
"test": "jest",
15+
"test:watch": "jest --watch",
16+
"coverage": "jest --coverage"
1617
},
1718
"jest": {
1819
"coverageDirectory": "./coverage/",

0 commit comments

Comments
 (0)