how to return observable in spy code example
Example 1: spyon observable
rapidColumnService.selectedUser$ = Observable.of({
'name': 'bhushan',
'desc': 'student'
})
Example 2: spyon observable
rapidColumnService.selectedUser$.next({
'name': 'bhushan',
'desc': 'student'
});