Answers for "jasmine spy return value when using create Spy Object angular 2"

0

jasmine spy return value when using create Spy Object angular 2

const loginResult = '';
const spy = spyOn(authService, 'login').and.callFake(() => {
    return Observable.from([loginResult]);
})
Posted by: Guest on February-11-2021

Code answers related to "jasmine spy return value when using create Spy Object angular 2"

Code answers related to "Javascript"

Browse Popular Code Answers by Language