PromoCursed/node_modules/es-get-iterator/test/node.mjs
2024-08-20 23:25:37 +04:00

11 lines
263 B
JavaScript

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('./');