11cb0ef41Sopenharmony_ciimport { createRequire } from '../common/index.mjs'; 21cb0ef41Sopenharmony_ciimport assert from 'assert'; 31cb0ef41Sopenharmony_ci// 41cb0ef41Sopenharmony_ciconst require = createRequire(import.meta.url); 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_cirequire('../fixtures/es-module-require-cache/preload.js'); 71cb0ef41Sopenharmony_cirequire('../fixtures/es-module-require-cache/counter.js'); 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ciassert.strictEqual(global.counter, 1); 101cb0ef41Sopenharmony_cidelete global.counter; 11