This commit is contained in:
Maksym Kobieliev
2020-04-02 21:38:54 +03:00
parent bcc28d7063
commit ec9904bf52

View File

@@ -15,7 +15,8 @@ describe("toHaveBeenCalledOnceWith", function () {
it("passes through the custom equality testers", function () { it("passes through the custom equality testers", function () {
var util = { var util = {
contains: jasmine.createSpy('delegated-contains').and.returnValue(false) contains: jasmine.createSpy('delegated-contains').and.returnValue(false),
equals: jasmineUnderTest.matchersUtil.equals
}, },
customEqualityTesters = [function () { return true; }], customEqualityTesters = [function () { return true; }],
matcher = jasmineUnderTest.matchers.toHaveBeenCalledOnceWith(util, customEqualityTesters), matcher = jasmineUnderTest.matchers.toHaveBeenCalledOnceWith(util, customEqualityTesters),