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 3945fd5 commit 6a58901Copy full SHA for 6a58901
1 file changed
extensions/memory-wiki/src/gateway.test.ts
@@ -92,13 +92,13 @@ function readGatewayMethodOptions(
92
}
93
94
function readRespondPayload(respond: { mock: { calls: Array<Array<unknown>> } }): unknown {
95
- const call = respond.mock.calls.at(0);
+ const call = respond.mock.calls[0];
96
expect(call?.[0]).toBe(true);
97
return call?.[1];
98
99
100
function readRespondError(respond: { mock: { calls: Array<Array<unknown>> } }): unknown {
101
102
expect(call?.[0]).toBe(false);
103
expect(call?.[1]).toBeUndefined();
104
return call?.[2];
0 commit comments