test: dedupe memory search mock read

This commit is contained in:
Peter Steinberger
2026-05-13 09:04:40 +01:00
parent f2bd20351f
commit b9b7ffc8cd

View File

@@ -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}`);
}