Skip to content

Commit

Permalink
[Tests] use set-function-length/env
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 13, 2023
1 parent 994fa15 commit 89b1167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -51,6 +51,7 @@
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"set-function-length": "^1.1.0",
"tape": "^5.6.6"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -6,7 +6,7 @@ var hasSymbols = require('has-symbols/shams')();
var isConcatSpreadable = hasSymbols && Symbol.isConcatSpreadable;
var species = hasSymbols && Symbol.species;

var boundFnsHaveConfigurableLengths = Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(function () {}.bind(), 'length').configurable;
var boundFnsHaveConfigurableLengths = require('set-function-length/env').boundFnsHaveConfigurableLengths;

var safeConcat = require('../');

Expand Down

0 comments on commit 89b1167

Please sign in to comment.