securityos/node_modules/es-get-iterator/test/node.mjs

11 lines
263 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import getIterator from 'es-get-iterator';
import Module from 'module';
const require = Module.createRequire(import.meta.url);
const id = require.resolve('../node');
const mod = new Module(id);
mod.exports = getIterator;
require.cache[id] = mod;
require('./');