Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
8
node_modules/get-symbol-description/test/index.js
generated
vendored
8
node_modules/get-symbol-description/test/index.js
generated
vendored
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
var test = require('tape');
|
||||
var debug = require('object-inspect');
|
||||
var forEach = require('foreach');
|
||||
var has = require('has');
|
||||
var forEach = require('for-each');
|
||||
var hasOwn = require('hasown');
|
||||
var v = require('es-value-fixtures');
|
||||
|
||||
var getSymbolDescription = require('../');
|
||||
|
|
@ -45,7 +45,7 @@ test('getSymbolDescription', function (t) {
|
|||
);
|
||||
|
||||
st.test('only possible when inference or native `Symbol.prototype.description` is supported', {
|
||||
skip: !getInferredName && !has(Symbol.prototype, 'description')
|
||||
skip: !getInferredName && !hasOwn(Symbol.prototype, 'description')
|
||||
}, function (s2t) {
|
||||
s2t.equal(getSymbolDescription(Symbol('')), '', 'Symbol("") description is ""');
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ test('getSymbolDescription', function (t) {
|
|||
});
|
||||
|
||||
st.test('only possible when global symbols are supported', {
|
||||
skip: !has(Symbol, 'for') || !has(Symbol, 'keyFor')
|
||||
skip: !hasOwn(Symbol, 'for') || !hasOwn(Symbol, 'keyFor')
|
||||
}, function (s2t) {
|
||||
// eslint-disable-next-line no-restricted-properties
|
||||
s2t.equal(getSymbolDescription(Symbol['for']('')), '', 'Symbol.for("") description is ""');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue