Tests: tighten discord work account type in doctor config flow

This commit is contained in:
Gustavo Madeira Santana
2026-02-26 05:38:53 -05:00
parent 1ffc319831
commit e273b9851e

View File

@@ -266,6 +266,12 @@ describe("doctor config flow", () => {
allowFrom?: string[];
accounts: Record<string, DiscordAccountRule> & {
default: { allowFrom: string[] };
work: {
allowFrom: string[];
dm: { allowFrom: string[]; groupChannels: string[] };
execApprovals: { approvers: string[] };
guilds: Record<string, DiscordGuildRule>;
};
};
};
};