Testing, flushing, and async expect - how is it done? #2305
0b10
started this conversation in
Docs Discussions
Replies: 1 comment
-
You could use something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a service class that looks like:
post is not observable, and the template uses the injected service properties directly:
{{ service.post }}
for example. The template is aware of changes, but I don't know how to await for changes after flushing in tests - see below:What is the recommended way to deal with this?
Beta Was this translation helpful? Give feedback.
All reactions