Answers for "jasmine spyon argument of type is not assignable to parameter of type 'prototype'"

0

jasmine spyon argument of type is not assignable to parameter of type 'prototype'

const service = TestBed.get(GAService);
spyOn(service , "sendException").and.returnValue(Promise.resolve(true));

// do some stuff that is expected to invoke GAService.sendException

expect(service.sendException).toHaveBeenCalled();
Posted by: Guest on July-25-2020

Code answers related to "jasmine spyon argument of type is not assignable to parameter of type 'prototype'"

Browse Popular Code Answers by Language