Raise test coverage to ~73%

This commit is contained in:
Peter Steinberger committed 2025-11-25 12:48:12 +01:00
1 parent a72492c991
commit b6250efbf3
8 files changed
+45 -17

No files matched your search

+2 -2
View File
@@ -91,7 +91,7 @@ describe("sendCommand", () => {
);
expect(deps.sendMessageWeb).toHaveBeenCalled();
expect(runtime.log).toHaveBeenCalledWith(
expect.stringContaining("\"provider\": \"web\""),
expect.stringContaining('"provider": "web"'),
);
});
@@ -139,7 +139,7 @@ describe("sendCommand", () => {
});
expect(deps.waitForFinalStatus).not.toHaveBeenCalled();
expect(runtime.log).toHaveBeenCalledWith(
expect.stringContaining("\"provider\": \"twilio\""),
expect.stringContaining('"provider": "twilio"'),
);
});
});