but mocha and karma have pretty low test timeout values IIRC
m
mbonnin
07/28/2022, 2:10 PM
I believe you can write a
suspend fun
or
Promise
-returning test function on KJS
I wanted to avoid the expect/actual but I guess that'd work 👍
t
Tom Yuval
09/12/2022, 8:58 AM
Happened to stumble upon this thread, so in case this is still relevant for anyone: I’ve recently written a tiny library specifically for that: https://github.com/tomuvak/testing-coroutines. It provides a single function (called