test: tighten discord channel resolver assertions

This commit is contained in:
Shakker
2026-05-11 08:09:12 +01:00
parent 628885ebfc
commit a74bf2bfcc

View File

@@ -122,13 +122,14 @@ describe("resolveDiscordChannelAllowlist", () => {
entry: "111/222",
});
expect(res[0]).toMatchObject({
expect(res[0]).toEqual({
input: "111/222",
resolved: true,
guildId: "111",
guildName: "Guild One",
channelId: "222",
channelName: "general",
guildName: "Guild One",
archived: undefined,
});
});
@@ -142,7 +143,7 @@ describe("resolveDiscordChannelAllowlist", () => {
entry: "111/222",
});
expect(res[0]).toMatchObject({
expect(res[0]).toEqual({
input: "111/222",
resolved: false,
guildId: "111",