mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 20:24:46 +00:00
test: dedupe command status mock read
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user