mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: dedupe memory search mock read
This commit is contained in:
@@ -200,7 +200,7 @@ async function createFailedQmdSearchHarness(params: { agentId: string; errorMess
|
||||
}
|
||||
|
||||
function qmdCreateParams(index = 0): Record<string, unknown> {
|
||||
const call = createQmdManagerMock.mock.calls.at(index);
|
||||
const call = createQmdManagerMock.mock.calls[index];
|
||||
if (!call) {
|
||||
throw new Error(`expected QMD manager create call ${index}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user