Skip to content

Commit

Permalink
[Tests] tape v5.3 exposed a bug in corejs tests; use --require in…
Browse files Browse the repository at this point in the history
…stead
  • Loading branch information
ljharb committed Aug 6, 2021
1 parent a3b5498 commit a1e004e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ coverage/
.nyc_output/

.github/workflows

test-corejs.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run --silent lint",
"test:corejs": "nyc tape test-corejs.js",
"test:corejs": "nyc tape --require=core-js 'test/**/*.js'",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only && npm run test:corejs",
"posttest": "aud --production",
Expand Down Expand Up @@ -70,7 +70,7 @@
"make-arrow-function": "~1.1.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.0"
"tape": "^5.3.1"
},
"testling": {
"files": "test/native.js",
Expand Down
7 changes: 0 additions & 7 deletions test-corejs.js

This file was deleted.

File renamed without changes.

0 comments on commit a1e004e

Please sign in to comment.