diff --git a/kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/test/TestCaseExecutor.kt b/kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/test/TestCaseExecutor.kt index 1e487b52955..f93a0a287a3 100644 --- a/kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/test/TestCaseExecutor.kt +++ b/kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/test/TestCaseExecutor.kt @@ -72,7 +72,7 @@ class TestCaseExecutor( TestInvocationInterceptor(configuration.registry, timeMark), InvocationTimeoutInterceptor, if (platform == Platform.JVM && testCase.config.testCoroutineDispatcher) TestDispatcherInterceptor() else null, - if (platform == Platform.JVM && testCase.config.coroutineTestScope) TestCoroutineInterceptor() else null, + if (platform != Platform.JS && testCase.config.coroutineTestScope) TestCoroutineInterceptor() else null, CoroutineDebugProbeInterceptor, )