test: fix pairing/daemon assertion drift

This commit is contained in:
Peter Steinberger
2026-02-26 21:24:50 +00:00
parent a1346a519a
commit c53b11dccd
4 changed files with 21 additions and 4 deletions

View File

@@ -90,7 +90,10 @@ describe("msteams monitor handler authz", () => {
sendActivity: vi.fn(async () => undefined),
} as unknown as Parameters<typeof handler>[0]);
expect(readAllowFromStore).toHaveBeenCalledWith("msteams");
expect(readAllowFromStore).toHaveBeenCalledWith({
channel: "msteams",
accountId: "default",
});
expect(conversationStore.upsert).not.toHaveBeenCalled();
});
});