Skip to content

Jasmine Spy not working with TestScheduler (I could use some help :-) #6025

Answered by cartant
antonkarsten asked this question in Q&A
Discussion options

You must be logged in to vote

Read about flush and call it before you make that assertion:

flush();
expect(transformServiceSpy.transform).toHaveBeenCalledTimes(1);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antonkarsten
Comment options

Answer selected by antonkarsten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants