Open tjanowsk opened 4 years ago
Currently running ng test gives an error, because some of the test cases call outdated class methods.
ng test
Since the new call function relies on callbacks, it may be useful to mock it using
call
spyOn(CovidApiSubService, 'call').and.callFake((successCallback, errorCallback) => //... )
Currently running
ng test
gives an error, because some of the test cases call outdated class methods.Since the new
call
function relies on callbacks, it may be useful to mock it using