From 3f8f488a58663e94752916e1fdbd4c3161b79f06 Mon Sep 17 00:00:00 2001 From: Eradev Date: Sat, 11 Jan 2025 12:41:28 -0500 Subject: [PATCH] Fix broken tests --- spec/core/matchers/toHaveBeenCalledWithSpec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/core/matchers/toHaveBeenCalledWithSpec.js b/spec/core/matchers/toHaveBeenCalledWithSpec.js index 91d78e20..ac7f3ad4 100644 --- a/spec/core/matchers/toHaveBeenCalledWithSpec.js +++ b/spec/core/matchers/toHaveBeenCalledWithSpec.js @@ -2,6 +2,7 @@ describe('toHaveBeenCalledWith', function() { it('passes when the actual was called with matching parameters', function() { const matchersUtil = { contains: jasmine.createSpy('delegated-contains').and.returnValue(true), + equals: jasmine.createSpy('delegated-equals').and.returnValue(true), pp: jasmineUnderTest.makePrettyPrinter() }, matcher = jasmineUnderTest.matchers.toHaveBeenCalledWith(matchersUtil), @@ -95,7 +96,8 @@ describe('toHaveBeenCalledWith', function() { it('set the correct calls as verified when passing', function() { const matchersUtil = { - contains: jasmine.createSpy('interaction-check').and.returnValue(true), + contains: jasmine.createSpy('delegated-contains').and.returnValue(true), + equals: jasmine.createSpy('delegated-equals').and.returnValue(true), pp: jasmineUnderTest.makePrettyPrinter() }, matcher = jasmineUnderTest.matchers.toHaveBeenCalledWith(matchersUtil),