11cb0ef41Sopenharmony_ciimport { fileURLToPath } from 'url';
21cb0ef41Sopenharmony_ciimport { createRequire } from 'module';
31cb0ef41Sopenharmony_ci
41cb0ef41Sopenharmony_ciconst rawRequire = createRequire(fileURLToPath(import.meta.url));
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ciexport async function requireFixture(specifier) {
71cb0ef41Sopenharmony_ci  return { default: rawRequire(specifier ) };
81cb0ef41Sopenharmony_ci}
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_ciexport function importFixture(specifier) {
111cb0ef41Sopenharmony_ci  return import(specifier);
121cb0ef41Sopenharmony_ci}
13