test: dedupe command status mock read

This commit is contained in:
Peter Steinberger
2026-05-13 08:36:05 +01:00
parent 78e03e3004
commit e2ced4cb53

View File

@@ -45,7 +45,7 @@ function expectResolvedReasoningLevel(value: unknown, expected: string) {
}
function requireBuildStatusReplyParams(index = 0): unknown {
const call = buildStatusReply.mock.calls.at(index);
const call = buildStatusReply.mock.calls[index];
if (!call) {
throw new Error(`expected buildStatusReply call ${index}`);
}