mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
14 lines
347 B
JavaScript
14 lines
347 B
JavaScript
|
/* jshint esnext: true */
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
var assert = require( "assert" );
|
||
|
|
||
|
delete global.Symbol;
|
||
|
require( "core-js" );
|
||
|
|
||
|
assert.strictEqual( typeof Symbol, "function", "Expected Symbol to be a function" );
|
||
|
assert.notEqual( typeof Symbol.iterator, "symbol", "Expected Symbol.iterator to be polyfilled" );
|
||
|
|
||
|
require( "./lib/ensure_iterability" )();
|