Skip to content

Commit b232d0a

Browse files
committed
test(channel): align Telegram management expectations
1 parent 06acfcf commit b232d0a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/cli/src/commands/channel/channel-registry.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ describe('channel registry', () => {
791791
required: true,
792792
}),
793793
);
794-
for (const type of ['dingtalk', 'wecom', 'feishu'] as const) {
794+
for (const type of ['telegram', 'dingtalk', 'wecom', 'feishu'] as const) {
795795
const fields = catalog.find((entry) => entry.type === type)?.fields;
796796
expect(
797797
fields
@@ -878,9 +878,6 @@ describe('channel registry', () => {
878878
default: 'chat_thread',
879879
}),
880880
);
881-
expect(
882-
catalog.find((entry) => entry.type === 'telegram')?.fields,
883-
).not.toContainEqual(expect.objectContaining({ key: 'sessionScope' }));
884881
expect(
885882
catalog.find((entry) => entry.type === 'dingtalk')?.fields,
886883
).toContainEqual(

0 commit comments

Comments
 (0)