I'm getting a weird timeout error with a fairly si...
# kotest
l
I'm getting a weird timeout error with a fairly simple test, immediately when I run the test:
Copy code
io.kotest.engine.test.interceptors.TestTimeoutException: Test 'screen was just opened' did not complete within 2h 46m 40s
This happens when using the following extension:
Copy code
class 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)
            }
        }
    }
}