Skip to content

Insure assertions execute on the same rendered state #902

Answered by egil
Jan-IT-Minds asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Jan-IT-Minds,

Take a look at https://bunit.dev/docs/verification/async-assertion.html. You basically want to wrap your assertions in a cut.WaitForAssertion(() => { ... assertions goes here });

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Jan-IT-Minds
Comment options

You must be logged in to vote
2 replies
@egil
Comment options

egil Oct 28, 2022
Maintainer

@Jan-IT-Minds
Comment options

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