Raise test coverage to ~73%
This commit is contained in:
1 parent
a72492c991
commit
b6250efbf3
8 files changed
+45
-17
No files matched your search
@@ -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"'),
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user