Files
openclaw/src/plugin-sdk/channel-contract-testing.ts

30 lines
969 B
TypeScript

/**
* Test SDK subpath for channel plugin contract fixtures and payload suites.
*/
export {
expectChannelInboundContextContract,
expectChannelTurnDispatchResultContract,
primeChannelOutboundSendMock,
} from "../channels/plugins/contracts/test-helpers.js";
export { buildDispatchInboundCaptureMock } from "../channels/plugins/contracts/inbound-testkit.js";
export {
installChannelOutboundPayloadContractSuite,
type OutboundPayloadHarnessParams,
} from "../channels/plugins/contracts/outbound-payload-testkit.js";
export {
createWireRecorder,
deliveryTraceScenarios,
expectDeliveryTraceMatchesGolden,
runDeliveryTraceScenario,
serializeDeliveryTrace,
type DeliveryTraceDispatch,
type DeliveryTraceInStep,
type DeliveryTraceScenario,
type DeliveryTraceScenarioName,
type DeliveryTraceStep,
type TraceEvent,
type TraceEventDir,
type TraceNormalizer,
type WireRecorder,
} from "../channels/plugins/contracts/trace/delivery-trace.js";