chore: Fix types in tests 33/N.

This commit is contained in:
cpojer
2026-02-17 15:45:36 +09:00
parent f44b58fd58
commit 49bd9f75f4
21 changed files with 148 additions and 42 deletions

View File

@@ -31,7 +31,7 @@ describe("resolveMessagingTarget (directory fallback)", () => {
});
it("uses live directory fallback and caches the result", async () => {
const entry: ChannelDirectoryEntry = { id: "123456789", name: "support" };
const entry: ChannelDirectoryEntry = { kind: "group", id: "123456789", name: "support" };
mocks.listGroups.mockResolvedValue([]);
mocks.listGroupsLive.mockResolvedValue([entry]);