-
-
Notifications
You must be signed in to change notification settings - Fork 339
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 Awaits
extensions similar to Runs
to await suspend functions until cancelled
#927
Conversation
…until cancelled And adding kotlinCoroutinesTest dependency for testing purposes.
👋 Hi, not sure why this error happens. Failures are all using
https://github.com/mockk/mockk/actions/runs/3160090370/jobs/5159103278#step:5:20 |
Latest Gradle 7.5.1 does not seem to be compatible with the newly released Java 19.
CI did not run completely (was cancelled) on the commit upgrading Java version: 985c6fe What should we do?
|
I'd remove support for java 19 until gradle supports it. I think you can do it in this PR. Thanks for looking into it! |
Code LGTM, can you please just add an example usage of |
- Add missing language - Remove unnecessary indentation
@Raibaz tell me if the |
That's perfect, thanks a lot! |
And adding kotlinCoroutinesTest dependency for testing purposes.
Examples:
coJustAwait { mock.coOp() } coEvery { mock.coOp() } just awaits coEvery { mock.coOp() } answers { 1 } andThenJust awaits
See discussion #924