aboutsummaryrefslogtreecommitdiffstats
path: root/test/node_smoke_tests/module/factory/iterable_with_native_symbol.js
blob: cb19c26c2703de3d1a8baf0d3b414ca134bdebcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import process from "node:process";

import { ensureIterability } from "../lib/ensure_iterability_es6.js";
import { getJQueryModuleSpecifier } from "../lib/jquery-module-specifier.js";

if ( typeof Symbol === "undefined" ) {
	console.log( "Symbols not supported, skipping the test..." );
	process.exit();
}

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