Skip to content

Commit 27af4f6

Browse files
committed
test: dedupe inbound reply mock read
1 parent 52a02ab commit 27af4f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugin-sdk/inbound-reply-dispatch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
} from "./inbound-reply-dispatch.js";
4040

4141
function readFirstMockArg(fn: unknown): unknown {
42-
return (fn as { mock: { calls: unknown[][] } }).mock.calls.at(0)?.[0];
42+
return (fn as { mock: { calls: unknown[][] } }).mock.calls[0]?.[0];
4343
}
4444

4545
describe("recordInboundSessionAndDispatchReply", () => {

0 commit comments

Comments
 (0)