fix(test): normalize CLI paths on Windows

这个提交包含在:
XuqmGroup 2026-07-17 14:18:46 +08:00
父节点 e06f3f9877
当前提交 4cfcbb3aa2

查看文件

@ -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-'))