Omar
05/02/2025, 9:50 AMclass WasmJsTestDebug {
@Test
fun logDoesNotPrintOnTimeout() = runTest {
println("this log does NOT print")
val flow = flow { while (true) emit(1) }
val job = launch { flow.collect() }
job.start()
}
}
logDoesNotPrintOnTimeout
does not print the message and is not part of the generated test report. If I run the test on JVM, the message is printed even when the test times out, and is included as a failed test in the generated test report.