jasmine toHaveBeenCalledWith partial matching January 19, 2023 by Tarik Try toHaveBeenCalledWith(jasmine.any(Object), jasmine.any(Function))