mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 02:55:16 +00:00
test: dedupe bootstrap size mock read
This commit is contained in:
parent
8504029d73
commit
963207d265
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue