jasmine spy return value when using create Spy Object angular 2
const loginResult = '';
const spy = spyOn(authService, 'login').and.callFake(() => {
return Observable.from([loginResult]);
})
Are there any code examples left?
New code examples in category Javascript