Angular - Testing
You want to test a component that calls a service method returning an Observable. How do you mock the service method to emit a value 'test' synchronously?
of('test') to emit synchronously.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions