Lukasz Kalnik
04/23/2024, 8:58 AMio.kotest.engine.test.interceptors.TestTimeoutException: Test 'screen was just opened' did not complete within 2h 46m 40s
Lukasz Kalnik
04/23/2024, 9:00 AMclass InheritedTestSchedulerExtension : SpecExtension {
override suspend fun intercept(spec: Spec, execute: suspend (Spec) -> Unit) {
runTest {
@OptIn(KotestInternal::class)
val newContext = coroutineContext + TestScopeElement(this)
withContext(newContext) {
execute(spec)
}
}
}
}