feat!: move msteams to plugin
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
||||
describe("channel registry", () => {
|
||||
it("normalizes aliases", () => {
|
||||
expect(normalizeChatChannelId("imsg")).toBe("imessage");
|
||||
expect(normalizeChatChannelId("teams")).toBe("msteams");
|
||||
expect(normalizeChatChannelId("web")).toBeNull();
|
||||
});
|
||||
|
||||
@@ -18,6 +17,11 @@ describe("channel registry", () => {
|
||||
expect(channels[0]?.id).toBe("telegram");
|
||||
});
|
||||
|
||||
it("does not include MS Teams by default", () => {
|
||||
const channels = listChatChannels();
|
||||
expect(channels.some((channel) => channel.id === "msteams")).toBe(false);
|
||||
});
|
||||
|
||||
it("formats selection lines with docs labels", () => {
|
||||
const channels = listChatChannels();
|
||||
const first = channels[0];
|
||||
|
||||
Reference in New Issue
Block a user