mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 01:54:46 +00:00
test: dedupe empty allowlist mock read
This commit is contained in:
@@ -83,7 +83,7 @@ describe("doctor empty allowlist policy scan", () => {
|
||||
|
||||
expect(warnings).toEqual(["extra:channels.signal"]);
|
||||
expect(extraWarningsForAccount).toHaveBeenCalledTimes(1);
|
||||
const [warningOptions] = extraWarningsForAccount.mock.calls.at(0) ?? [];
|
||||
const [warningOptions] = extraWarningsForAccount.mock.calls[0] ?? [];
|
||||
expect(warningOptions?.prefix).toBe("channels.signal");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user