https://kotlinlang.org logo
#kotest
Title
# kotest
c

Casey Brooks

10/26/2023, 5:13 PM
Is the Test Coroutine Dispatcher supported on all targets? I’m seeing
IllegalStateException: CoroutineDispatcher is not a TestDispatcher [WindowDispatcher@1]
when trying to run tests in a js browser test.
I’m using the latest versions of Kotlin, Coroutines, and Kotest, and the test is a
FunSpec
with default JS IR Browser target
Looks like there’s already an open issue for this https://github.com/kotest/kotest/issues/3575
s

sam

10/27/2023, 3:20 AM
yeah we should be fixing that for next 5.7.x release
3 Views