Skip to content

Commit 37f5c95

Browse files
committed
Fix coverage
1 parent 0d48c54 commit 37f5c95

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Run Jest tests
3535
env:
3636
NEXT_PUBLIC_FIREBASE_ENV: DEV
37-
run: yarn test
37+
run: yarn test:coverage
3838

3939
# - name: Build app
4040
# env:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,5 @@ icons/
9898

9999
test-results
100100
/.nyc_output/
101+
102+
**/coverage/*

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"sync-android": "./scripts/sync_android.sh",
2323
"migrate": "./scripts/migrate.sh",
2424
"test": "yarn workspaces run test",
25-
"test:coverage": "jest --coverage",
26-
"test:watch": "jest --watch",
27-
"test:update": "jest --updateSnapshot",
25+
"test:coverage": "yarn workspaces run test --coverage",
26+
"test:watch": "yarn workspaces run test --watch",
27+
"test:update": "yarn workspaces run test --updateSnapshot",
2828
"playwright": "playwright test",
2929
"playwright:ui": "playwright test --ui",
3030
"playwright:debug": "playwright test --debug",

0 commit comments

Comments
 (0)