mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 20:24:46 +00:00
test: dedupe oauth tls mock read
This commit is contained in:
@@ -44,7 +44,7 @@ describe("noteOpenAIOAuthTlsPrerequisites", () => {
|
||||
}
|
||||
|
||||
expect(note).toHaveBeenCalledTimes(1);
|
||||
const [message, title] = note.mock.calls.at(0) as [string, string];
|
||||
const [message, title] = note.mock.calls[0] as [string, string];
|
||||
expect(title).toBe("OAuth TLS prerequisites");
|
||||
expect(message).toContain("brew postinstall ca-certificates");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user