Skip to content

Commit

Permalink
test: handle npm ignore-scripts settings (#2313)
Browse files Browse the repository at this point in the history
Fixes #2287
  • Loading branch information
panva committed Oct 6, 2023
1 parent 2de330f commit af78c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"build:wasm": "node build/wasm.js --docker",
"lint": "standard | snazzy",
"lint:fix": "standard --fix | snazzy",
"test": "npm run test:tap && npm run test:node-fetch && npm run test:fetch && npm run test:cookies && npm run test:wpt && npm run test:websocket && npm run test:jest && npm run test:typescript",
"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:wpt && npm run test:websocket && npm run test:jest && npm run test:typescript",
"test:cookies": "node scripts/verifyVersion 16 || tap test/cookie/*.js",
"test:node-fetch": "node scripts/verifyVersion.js 16 || mocha --exit test/node-fetch",
"test:fetch": "node scripts/verifyVersion.js 16 || (npm run build:node && tap --expose-gc test/fetch/*.js && tap test/webidl/*.js)",
Expand Down
3 changes: 3 additions & 0 deletions scripts/generate-pem.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/* istanbul ignore file */

require('https-pem/install')

0 comments on commit af78c98

Please sign in to comment.