Build: Add `exports` to package.json, export slim & esm builds
[jquery.git] / test / node_smoke_tests / commonjs / iterable_with_native_symbol.cjs
blob8fce34e0604e9703c0f7a912e4f33dacdac74a99
1 "use strict";
3 const process = require( "node:process" );
5 if ( typeof Symbol === "undefined" ) {
6         console.log( "Symbols not supported, skipping the test..." );
7         process.exit();
10 const { ensureIterability } = require( "./lib/ensure_iterability_es6.cjs" );
11 const { getJQueryModuleSpecifier } = require( "./lib/jquery-module-specifier.cjs" );
13 const jQueryModuleSpecifier = getJQueryModuleSpecifier();
14 ensureIterability( jQueryModuleSpecifier );