Update node_modules

This commit is contained in:
CrazyMax
2020-01-17 09:36:42 +01:00
parent 0249173616
commit 999f6ae5af
787 changed files with 76078 additions and 436 deletions

29
node_modules/has-symbol-support-x/tests/spec/test.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
'use strict';
var hasSymbolSupport;
if (typeof module === 'object' && module.exports) {
require('es5-shim');
require('es5-shim/es5-sham');
if (typeof JSON === 'undefined') {
JSON = {};
}
require('json3').runInContext(null, JSON);
require('es6-shim');
var es7 = require('es7-shim');
Object.keys(es7).forEach(function (key) {
var obj = es7[key];
if (typeof obj.shim === 'function') {
obj.shim();
}
});
hasSymbolSupport = require('../../index.js');
} else {
hasSymbolSupport = returnExports;
}
describe('Basic tests', function () {
it('results should match', function () {
var expected = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';
expect(hasSymbolSupport).toBe(expected);
});
});