We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57c500 commit 23edebbCopy full SHA for 23edebb
1 file changed
src/media/audio-transcode.test.ts
@@ -15,7 +15,7 @@ import { transcodeAudioBufferToOpus } from "./audio-transcode.js";
15
type MockWithCalls = { mock: { calls: unknown[][] } };
16
17
function firstMockCall(mock: MockWithCalls, label: string): unknown[] {
18
- const call = mock.mock.calls.at(0);
+ const call = mock.mock.calls[0];
19
if (!call) {
20
throw new Error(`expected ${label} call`);
21
}
0 commit comments