fix(browser): normalize selected script manifest roots on Windows (#1078)

* fix(browser): normalize selected script manifest roots on Windows

* test(browser): keep manifest fixtures valid across Windows drives
This commit is contained in:
Ysopwnable
2026-10-08 22:37:10 +08:00
committed by GitHub
parent a4d77f0ff0
commit b49beb42d7
5 changed files with 125 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ cliTest(
join(root, "files", "modules", "main.js"),
artifacts.source,
);
const manifestPath = join(root, "manifest.json");
const manifestPath = join(root, "manifest.json").replaceAll("\\", "/");
await writeFile(manifestPath, JSON.stringify(manifest));
const environment = {
REA_LOG_LEVEL: "silent",