SL-edi / covid-visualisation

0 stars 0 forks source link

BUG - fix ng test #31

Open tjanowsk opened 4 years ago

tjanowsk commented 4 years ago

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

spyOn(CovidApiSubService, 'call').and.callFake((successCallback, errorCallback) =>
//...
)