From 4b237cd7f3d9ebffdfc60d987c4df3c2595c3b7c Mon Sep 17 00:00:00 2001 From: grant-kun Date: Mon, 26 Sep 2022 11:31:02 -0500 Subject: Delete node_modules directory --- node_modules/has-symbols/test/shams/core-js.js | 28 -------------------------- 1 file changed, 28 deletions(-) delete mode 100644 node_modules/has-symbols/test/shams/core-js.js (limited to 'node_modules/has-symbols/test/shams/core-js.js') diff --git a/node_modules/has-symbols/test/shams/core-js.js b/node_modules/has-symbols/test/shams/core-js.js deleted file mode 100644 index df5365c..0000000 --- a/node_modules/has-symbols/test/shams/core-js.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -var test = require('tape'); - -if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { - test('has native Symbol support', function (t) { - t.equal(typeof Symbol, 'function'); - t.equal(typeof Symbol(), 'symbol'); - t.end(); - }); - return; -} - -var hasSymbols = require('../../shams'); - -test('polyfilled Symbols', function (t) { - /* eslint-disable global-require */ - t.equal(hasSymbols(), false, 'hasSymbols is false before polyfilling'); - require('core-js/fn/symbol'); - require('core-js/fn/symbol/to-string-tag'); - - require('../tests')(t); - - var hasSymbolsAfter = hasSymbols(); - t.equal(hasSymbolsAfter, true, 'hasSymbols is true after polyfilling'); - /* eslint-enable global-require */ - t.end(); -}); -- cgit v1.2.3