mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
refactor: trim inbound contract test helper
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
import { vi } from "vitest";
|
||||
import type { MsgContext } from "../../../auto-reply/templating.js";
|
||||
|
||||
export type InboundContextCapture = {
|
||||
ctx: MsgContext | undefined;
|
||||
};
|
||||
|
||||
export function createInboundContextCapture(): InboundContextCapture {
|
||||
return { ctx: undefined };
|
||||
}
|
||||
|
||||
export function buildDispatchInboundCaptureMock<T extends Record<string, unknown>>(
|
||||
actual: T,
|
||||
|
||||
Reference in New Issue
Block a user