test(discord): type tracked target resolver mock

This commit is contained in:
Peter Steinberger
2026-05-03 17:24:17 +01:00
parent 5039a35a33
commit 1c7cbf55b9

View File

@@ -67,7 +67,7 @@ vi.mock("../send.js", () => ({
}));
const discordTargetMocks = vi.hoisted(() => ({
resolveDiscordTargetChannelId: vi.fn(async (target: string) => ({
resolveDiscordTargetChannelId: vi.fn(async (target: string, _opts?: unknown) => ({
channelId: target === "user:u1" ? "dm-u1" : target,
})),
}));