aboutsummaryrefslogtreecommitdiffstats
path: root/test/node_smoke_tests/commonjs/factory/iterable_with_native_symbol.cjs
blob: d973271b43d5e7f6749f5d5c53d300940dc2b58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"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.cjs" );
const { getJQueryModuleSpecifier } = require( "../lib/jquery-module-specifier.cjs" );

const jQueryModuleSpecifier = getJQueryModuleSpecifier();
ensureIterability( jQueryModuleSpecifier );