spyon observable property of a service 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'
});