test: count cli command calls

This commit is contained in:
Shakker
2026-05-12 05:13:25 +01:00
parent 78fd1f18c5
commit e35bc01ade
4 changed files with 4 additions and 4 deletions

View File

@@ -274,7 +274,7 @@ describe("runMessageAction", () => {
scope: "configured-channels",
onlyChannelIds: ["telegram"],
});
expect(messageCommandMock).toHaveBeenCalled();
expect(messageCommandMock).toHaveBeenCalledTimes(1);
});
it("loads configured channel plugins for mixed broadcast target prefixes", async () => {