Skip to content

Commit

Permalink
[Tests] use functions-have-names
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 24, 2019
1 parent 4d32953 commit 40746e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"array-map": "^0.0.0",
"covert": "^1.1.1",
"eslint": "^5.11.1",
"functions-have-names": "^1.1.0",
"object-keys": "^1.0.12",
"tape": "^4.9.2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/shimmed.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ values.shim();
var test = require('tape');
var defineProperties = require('define-properties');
var isEnumerable = Object.prototype.propertyIsEnumerable;
var functionsHaveNames = function f() {}.name === 'f';
var functionsHaveNames = require('functions-have-names')();

var runTests = require('./tests');

Expand Down

0 comments on commit 40746e5

Please sign in to comment.