diff --git a/packages/update/scripts/xuqm-rn.test.mjs b/packages/update/scripts/xuqm-rn.test.mjs index eab2f02..906c529 100644 --- a/packages/update/scripts/xuqm-rn.test.mjs +++ b/packages/update/scripts/xuqm-rn.test.mjs @@ -4,8 +4,9 @@ import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'nod import { tmpdir } from 'node:os' import path from 'node:path' import test from 'node:test' +import { fileURLToPath } from 'node:url' -const cli = new URL('./xuqm-rn.mjs', import.meta.url).pathname +const cli = fileURLToPath(new URL('./xuqm-rn.mjs', import.meta.url)) test('embed creates a complete versioned manifest from a host fixture', () => { const root = mkdtempSync(path.join(tmpdir(), 'xuqm-cli-'))