Skip to content

Commit

Permalink
chore: migrate a batch of tests to node test runner no. 9, remove tap (
Browse files Browse the repository at this point in the history
…#2746)

* chore: migrate a batch of tests to node test runner

* add connect-timeout.js

* remove tap
  • Loading branch information
Uzlopak committed Feb 13, 2024
1 parent c60acb5 commit 5f02182
Show file tree
Hide file tree
Showing 11 changed files with 1,439 additions and 1,142 deletions.
7 changes: 0 additions & 7 deletions .taprc

This file was deleted.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@
"build:wasm": "node build/wasm.js --docker",
"lint": "standard | snazzy",
"lint:fix": "standard --fix | snazzy",
"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",
"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",
"test:cookies": "borp --coverage -p \"test/cookie/*.js\"",
"test:node-fetch": "borp --coverage -p \"test/node-fetch/**/*.js\"",
"test:eventsource": "npm run build:node && borp --expose-gc --coverage -p \"test/eventsource/*.js\"",
"test:fetch": "npm run build:node && borp --expose-gc --coverage -p \"test/fetch/*.js\" && borp --coverage -p \"test/webidl/*.js\"",
"test:jest": "jest",
"test:tap": "tap test/*.js",
"test:unit": "borp --expose-gc -p \"test/*.js\"",
"test:node-test": "borp --coverage -p \"test/node-test/**/*.js\"",
"test:tdd": "tap test/*.js --coverage -w",
"test:tdd": "borp --coverage --expose-gc -p \"test/*.js\"",
"test:tdd:node-test": "borp -p \"test/node-test/**/*.js\" -w",
"test:typescript": "tsd && tsc --skipLibCheck test/imports/undici-import.ts",
"test:websocket": "borp --coverage -p \"test/websocket/*.js\"",
Expand Down Expand Up @@ -130,7 +130,6 @@
"snazzy": "^9.0.0",
"standard": "^17.0.0",
"superagent": "^8.1.2",
"tap": "^16.1.0",
"tsd": "^0.30.1",
"typescript": "^5.0.2",
"wait-on": "^7.0.1",
Expand Down

0 comments on commit 5f02182

Please sign in to comment.