Skip to content

Commit 59433d6

Browse files
Uzlopakcrysmags
authored andcommitted
chore: migrate a batch of tests to node test runner no. 9, remove tap (nodejs#2746)
* chore: migrate a batch of tests to node test runner * add connect-timeout.js * remove tap
1 parent 9e1b352 commit 59433d6

File tree

11 files changed

+1439
-1142
lines changed

11 files changed

+1439
-1142
lines changed

.taprc

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

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@
7676
"build:wasm": "node build/wasm.js --docker",
7777
"lint": "standard | snazzy",
7878
"lint:fix": "standard --fix | snazzy",
79-
"test": "node scripts/generate-pem && npm run test:tap && npm run test:node-fetch && npm run test:fetch && npm run test:cookies && npm run test:eventsource && npm run test:wpt && npm run test:websocket && npm run test:jest && npm run test:typescript && npm run test:node-test",
79+
"test": "node scripts/generate-pem && npm run test:unit && npm run test:node-fetch && npm run test:fetch && npm run test:cookies && npm run test:eventsource && npm run test:wpt && npm run test:websocket && npm run test:jest && npm run test:typescript && npm run test:node-test",
8080
"test:cookies": "borp --coverage -p \"test/cookie/*.js\"",
8181
"test:node-fetch": "borp --coverage -p \"test/node-fetch/**/*.js\"",
8282
"test:eventsource": "npm run build:node && borp --expose-gc --coverage -p \"test/eventsource/*.js\"",
8383
"test:fetch": "npm run build:node && borp --expose-gc --coverage -p \"test/fetch/*.js\" && borp --coverage -p \"test/webidl/*.js\"",
8484
"test:jest": "jest",
85-
"test:tap": "tap test/*.js",
85+
"test:unit": "borp --expose-gc -p \"test/*.js\"",
8686
"test:node-test": "borp --coverage -p \"test/node-test/**/*.js\"",
87-
"test:tdd": "tap test/*.js --coverage -w",
87+
"test:tdd": "borp --coverage --expose-gc -p \"test/*.js\"",
8888
"test:tdd:node-test": "borp -p \"test/node-test/**/*.js\" -w",
8989
"test:typescript": "tsd && tsc --skipLibCheck test/imports/undici-import.ts",
9090
"test:websocket": "borp --coverage -p \"test/websocket/*.js\"",
@@ -130,7 +130,6 @@
130130
"snazzy": "^9.0.0",
131131
"standard": "^17.0.0",
132132
"superagent": "^8.1.2",
133-
"tap": "^16.1.0",
134133
"tsd": "^0.30.1",
135134
"typescript": "^5.0.2",
136135
"wait-on": "^7.0.1",

0 commit comments

Comments
 (0)