aboutsummaryrefslogtreecommitdiffstats
path: root/test/node_smoke_tests/module/iterable_with_native_symbol.js
blob: 3417e8ac078cc0dbe1de2a7ef212eac690b7150a (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 );