fix(ci): stabilize windows tests

This commit is contained in:
Peter Steinberger
2026-01-08 02:44:09 +00:00
parent f3f5e49d94
commit fbeb9e6775
10 changed files with 148 additions and 62 deletions

View File

@@ -51,9 +51,10 @@ describe("control UI assets helpers", () => {
});
it("resolves dist control-ui index path for dist argv1", () => {
const argv1 = path.join("/tmp", "pkg", "dist", "index.js");
const argv1 = path.resolve("/tmp", "pkg", "dist", "index.js");
const distDir = path.dirname(argv1);
expect(resolveControlUiDistIndexPath(argv1)).toBe(
path.join("/tmp", "pkg", "dist", "control-ui", "index.html"),
path.join(distDir, "control-ui", "index.html"),
);
});
});