New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add skip functionality #87
Comments
Maybe? I'm trying to figure out if it is a useful API rather than just calling |
I was also unsure if its worth or not. Happy to discuss! Edit: Another option would be to go with something like:
But still unsure if its a nice thing to have or not. |
I kept thinking about this for a while and it would be a good addition to explicitly add a skip or ignore function. |
I'm okay with it if @mattprecious is. Want to send a PR? |
I think to make it a worthwhile addition over |
Will open a PR on the weekend, so it will be easier to have a base for further discussions. |
Sometimes it might be good to have a way to skip a certain number of events to have a cleaner test without multiple await calls, which are then not part of any assertion.
For my codebase I added an extension function like this:
Does it make sense to add that functionality on library level?
The text was updated successfully, but these errors were encountered: