+- `node --input-type=module -e "import path from 'node:path'; import { registerHooks } from 'node:module'; import { pathToFileURL } from 'node:url'; const repoRoot=process.cwd(); const ROOT_ALIASES=['/src/','/games/','/tools/','/samples/']; registerHooks({ resolve(specifier, context, nextResolve) { if (ROOT_ALIASES.some((prefix)=>specifier.startsWith(prefix))) { const resolved = pathToFileURL(path.join(repoRoot, specifier.slice(1))).href; return nextResolve(resolved, context); } return nextResolve(specifier, context); } }); const { run } = await import('./tests/runtime/Phase16VisibilitySanity.test.mjs'); await run(); console.log('PASS Phase16VisibilitySanity');"`
0 commit comments