mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 23:24:45 +00:00
test: dedupe bootstrap size mock read
This commit is contained in:
@@ -52,7 +52,7 @@ describe("noteBootstrapFileSize", () => {
|
||||
});
|
||||
await noteBootstrapFileSize({} as OpenClawConfig);
|
||||
expect(note).toHaveBeenCalledTimes(1);
|
||||
const [message, title] = note.mock.calls.at(0) ?? [];
|
||||
const [message, title] = note.mock.calls[0] ?? [];
|
||||
expect(title).toBe("Bootstrap file size");
|
||||
expect(message).toBe(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user