mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-02 21:01:51 +00:00
fix(test): harden qmd release callback typing
This commit is contained in:
@@ -332,7 +332,12 @@ describe("QmdMemoryManager", () => {
|
||||
await vi.advanceTimersByTimeAsync(500);
|
||||
await expect(searchPromise).resolves.toEqual([]);
|
||||
|
||||
releaseUpdate?.();
|
||||
(
|
||||
releaseUpdate ??
|
||||
(() => {
|
||||
throw new Error("expected qmd update process to start");
|
||||
})
|
||||
)();
|
||||
await manager.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user