#1048 - fixed toThrow expectation
This commit is contained in:
@@ -24,7 +24,7 @@ describe("toHaveBeenCalledTimes", function() {
|
|||||||
spy();
|
spy();
|
||||||
expect(function() {
|
expect(function() {
|
||||||
matcher.compare(spy);
|
matcher.compare(spy);
|
||||||
}).toThrowError('Expected times failed is required as an argument.');
|
}).toThrowError('The expected times failed is a required argument and must be a number.');
|
||||||
});
|
});
|
||||||
|
|
||||||
it("fails when the actual was called less than the expected", function() {
|
it("fails when the actual was called less than the expected", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user