Skip to content

Commit d2d6af3

Browse files
Fix tests
1 parent fe20241 commit d2d6af3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm ci
2020
- run: npm run build
21-
- run: npm run test:coverage
21+
- run: npm run test
2222
types:
2323
runs-on: ubuntu-latest
2424
strategy:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"clean": "rm -rf ./dist",
1313
"perf": "./node_modules/.bin/matcha perf.js",
1414
"rollup": "./node_modules/.bin/rollup -c",
15-
"test": "mocha -- -R spec",
16-
"test:coverage": "c8 --check-coverage --lines 88 --functions 100 --src ./lib npm run test",
15+
"test": "npm run test:coverage",
16+
"test:specs": "mocha -- -R spec",
17+
"test:coverage": "c8 --check-coverage --lines 87 --functions 100 --src ./lib npm run test:specs",
1718
"ts": "./node_modules/.bin/tsc -p ."
1819
},
1920
"files": [

0 commit comments

Comments
 (0)