mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 17:10:43 +00:00
19 lines
509 B
TypeScript
19 lines
509 B
TypeScript
import { expectChannelTurnDispatchResultContract } from "openclaw/plugin-sdk/channel-contract-testing";
|
|
import { describe, it } from "vitest";
|
|
|
|
describe("channel contract testing helpers", () => {
|
|
it("asserts shared channel turn dispatch visibility", () => {
|
|
expectChannelTurnDispatchResultContract(
|
|
{
|
|
queuedFinal: false,
|
|
counts: { tool: 0, block: 1, final: 0 },
|
|
},
|
|
{
|
|
visible: true,
|
|
final: false,
|
|
counts: { block: 1 },
|
|
},
|
|
);
|
|
});
|
|
});
|