mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-15 17:05:34 +00:00
test: dedupe inbound reply mock read
This commit is contained in:
@@ -39,7 +39,7 @@ import {
|
||||
} from "./inbound-reply-dispatch.js";
|
||||
|
||||
function readFirstMockArg(fn: unknown): unknown {
|
||||
return (fn as { mock: { calls: unknown[][] } }).mock.calls.at(0)?.[0];
|
||||
return (fn as { mock: { calls: unknown[][] } }).mock.calls[0]?.[0];
|
||||
}
|
||||
|
||||
describe("recordInboundSessionAndDispatchReply", () => {
|
||||
|
||||
Reference in New Issue
Block a user