Skip to content

Commit cd993f4

Browse files
committed
test: dedupe cron fast mode mock read
1 parent 210f606 commit cd993f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cron/isolated-agent/run.fast-mode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function mockSuccessfulModelFallback() {
3535
}
3636

3737
function requireFirstMockCall<T>(mock: { mock: { calls: T[][] } }, label: string): T[] {
38-
const call = mock.mock.calls.at(0);
38+
const call = mock.mock.calls[0];
3939
if (!call) {
4040
throw new Error(`expected ${label} call`);
4141
}

0 commit comments

Comments
 (0)