jquery/test/node_smoke_tests/iterable_with_native_symbol.js

15 lines
438 B
JavaScript
Raw Permalink Normal View History

"use strict";
const process = require( "node:process" );
if ( typeof Symbol === "undefined" ) {
console.log( "Symbols not supported, skipping the test..." );
process.exit();
}
const { ensureIterability } = require( "./lib/ensure_iterability_es6" );
const { getJQueryModuleSpecifier } = require( "./lib/jquery-module-specifier" );
const jQueryModuleSpecifier = getJQueryModuleSpecifier();
ensureIterability( jQueryModuleSpecifier );