mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 20:54:46 +00:00
test: dedupe doctor security mock read
This commit is contained in:
@@ -65,7 +65,7 @@ describe("noteSecurityWarnings gateway exposure", () => {
|
||||
}
|
||||
});
|
||||
|
||||
const lastMessage = () => String(note.mock.calls.at(-1)?.[0] ?? "");
|
||||
const lastMessage = () => String(note.mock.calls[note.mock.calls.length - 1]?.[0] ?? "");
|
||||
|
||||
async function withExecApprovalsFile(
|
||||
file: Record<string, unknown>,
|
||||
|
||||
Reference in New Issue
Block a user