Skip to content

Commit f7deb32

Browse files
committed
Coverage
1 parent 554988e commit f7deb32

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: yarn lint
2525

2626
- name: Run Tests
27-
run: yarn test:ci
27+
run: yarn test
2828

2929
- name: Coveralls
3030
uses: coverallsapp/github-action@master

jest.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ module.exports = {
44
'^.+\\.ts?$': 'ts-jest',
55
},
66
transformIgnorePatterns: ['node_modules/(?!(node-fetch|fetch-blob)/)'],
7+
collectCoverageFrom: ['./src/*.js'],
78
coverageThreshold: {
89
global: {
910
branches: 50,
10-
functions: 80,
11-
lines: 85,
11+
functions: 75,
12+
lines: 75,
1213
},
1314
},
1415
};

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"build": "yarn clean && yarn babel && rollup -c",
2020
"babel": "babel src -d build --copy-files --no-copy-ignored",
2121
"lint": "eslint src/",
22-
"test:ci": "yarn test --coverage --coverageReporters=text-lcov",
2322
"test": "jest"
2423
},
2524
"devDependencies": {

0 commit comments

Comments
 (0)