Testing / mocking infinite repeat() #6980
Unanswered
MattiJarvinen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an Angular component that subscribes to an infinite stream using repeat() (it executes serial communication with external device while user is on that view).
How can I mock that repeat() into repeat(1) or any finite instead using Jasmine.
Beta Was this translation helpful? Give feedback.
All reactions