Join Slack
Powered by
Well this is weird, I'm using coroutines test libr...
# coroutines
z
zt
10/10/2024, 12:08 AM
Well this is weird, I'm using coroutines test library and its just ignoring my delay call
Copy code
@Test fun testNodeMap() = runTest { print("Hello ") delay(50000) println("world!") }
It completes instantly
j
jw
10/10/2024, 12:16 AM
That is as documented
https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/run-test.html
👍 1
2
Views
Open in Slack
Previous
Next