mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 19:10:42 +00:00
test: clarify update package manager path assertion
This commit is contained in:
@@ -34,7 +34,9 @@ describe("resolveUpdateBuildManager", () => {
|
||||
expect(result.kind).toBe("resolved");
|
||||
if (result.kind === "resolved") {
|
||||
expect(result.manager).toBe("pnpm");
|
||||
expect(paths.some((value) => value.includes("openclaw-update-pnpm-"))).toBe(true);
|
||||
expect(paths).toEqual(
|
||||
expect.arrayContaining([expect.stringContaining("openclaw-update-pnpm-")]),
|
||||
);
|
||||
await result.cleanup?.();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user