From ec9904bf52e7e4c45045742c54595b6af5341aad Mon Sep 17 00:00:00 2001 From: Maksym Kobieliev Date: Thu, 2 Apr 2020 21:38:54 +0300 Subject: [PATCH] Fix test --- spec/core/matchers/toHaveBeenCalledOnceWithSpec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/core/matchers/toHaveBeenCalledOnceWithSpec.js b/spec/core/matchers/toHaveBeenCalledOnceWithSpec.js index 97fdaf9c..722a05f1 100644 --- a/spec/core/matchers/toHaveBeenCalledOnceWithSpec.js +++ b/spec/core/matchers/toHaveBeenCalledOnceWithSpec.js @@ -15,7 +15,8 @@ describe("toHaveBeenCalledOnceWith", function () { it("passes through the custom equality testers", function () { 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; }], matcher = jasmineUnderTest.matchers.toHaveBeenCalledOnceWith(util, customEqualityTesters),