return of(); doesn’t create a stream.
Whereas
return of(void 0);
does.
if you are mocking and need to return a stream of void. Like my life. [Sad Panda]
return of(); doesn’t create a stream.
Whereas
return of(void 0);
does.
if you are mocking and need to return a stream of void. Like my life. [Sad Panda]