@tapjs/mock-esm just a proof of concept to do const foo = await t.mockESM('./foo.mjs'), as the modern equivalent of const foo = t.mock('./foo.cjs').