Skip to content

Commit 022424b

Browse files
authored
tests: migrate to node test runner (#290)
* chore: ok * feat: basic assertions * chore: tests * chore: move to node test runner * chore: removed taprc * fix: use strictEqual
1 parent c471eae commit 022424b

File tree

3 files changed

+370
-432
lines changed

3 files changed

+370
-432
lines changed

.taprc

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test": "npm run test:unit && npm run test:typescript",
1212
"test:coverage": "npm run test:unit -- --cov --coverage-report=html",
1313
"test:typescript": "tsd",
14-
"test:unit": "tap"
14+
"test:unit": "c8 --100 node --test"
1515
},
1616
"repository": {
1717
"type": "git",
@@ -61,12 +61,12 @@
6161
"@fastify/pre-commit": "^2.1.0",
6262
"@types/node": "^22.0.0",
6363
"@types/simple-oauth2": "^5.0.7",
64+
"c8": "^10.1.3",
6465
"eslint": "^9.17.0",
6566
"fastify": "^5.0.0",
6667
"neostandard": "^0.12.0",
6768
"nock": "^13.5.4",
6869
"simple-get": "^4.0.1",
69-
"tap": "^18.7.1",
7070
"tsd": "^0.31.0"
7171
},
7272
"dependencies": {

0 commit comments

Comments
 (0)