Raise test coverage to ~73%

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

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"'),
);
});
});