mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 18:51:04 +00:00
test: simplify typed conversions
This commit is contained in:
@@ -818,7 +818,7 @@ describe("update-cli", () => {
|
||||
);
|
||||
|
||||
expect(installCall).toBeDefined();
|
||||
const installCommand = String(installCall?.[0][0] ?? "");
|
||||
const installCommand = installCall?.[0][0] ?? "";
|
||||
expect(installCommand).not.toBe("npm");
|
||||
expect(path.isAbsolute(installCommand)).toBe(true);
|
||||
expect(path.normalize(installCommand)).toContain(path.normalize(brewPrefix));
|
||||
|
||||
Reference in New Issue
Block a user