Used to have this hack: so I could write: ```@Tes...
# webassembly
c
Used to have this hack: so I could write:
Copy code
@Test
fun test() = suspendTest {
  // ...
}
in common code in a way that works on all the targets including JS and JVM. How should I proceed with wasm?
1
When I created those methods.
kotlinx-coroutines-test
didn't existed. I figured out by checking what
kotlinx-coroutines-test
is doing: https://github.com/Kotlin/kotlinx.coroutines/blob/9582584cf308edbb923f5dec772cf06c417d782b/kotlinx-coroutines-test/js/src/TestBuilders.kt#L9-L12