Skip to content

Commit

Permalink
chore(tests): replace tap with node:test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pupix committed Jan 29, 2025
1 parent 447af5b commit f55a4ba
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run test:ci
- run: npm run test
automerge:
needs: build
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .taprc

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"lint": "eslint lib/**/*.js test/**/*.js",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"test": "tap --no-browser --coverage-report=html --coverage-report=text test",
"test:ci": "tap --no-color --coverage-report=json --coverage-report=text test"
"test": "node --test --experimental-test-coverage --test-coverage-exclude=test/** --test-coverage-branches=100 --test-coverage-lines=100 --test-coverage-functions=100"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,8 +46,7 @@
"lint-staged": "^15.0.1",
"prettier": "^3.0.1",
"proxyquire": "^2.1.3",
"sinon": "^19.0.2",
"tap": "^16.0.0"
"sinon": "^19.0.2"
},
"lint-staged": {
"*.js": [
Expand Down
Loading

0 comments on commit f55a4ba

Please sign in to comment.