dan.the.man
09/12/2020, 6:05 PMlouiscad
09/12/2020, 6:34 PMCasey Brooks
09/12/2020, 6:39 PMdan.the.man
09/12/2020, 7:22 PMactual fun runTest(block: suspend (scope : CoroutineScope) -> Unit):
dynamic = GlobalScope.promise { block(this) }
for my JS implementation but the test still just completes instead of failing like i'd expect. On JVM this is just runBlocking{} and it all performs how you would expect.
What am I doing wrong?louiscad
09/12/2020, 7:23 PMactual
modifier.dan.the.man
09/12/2020, 7:24 PMexpect fun runTest(block: suspend (scope : CoroutineScope) -> Unit)
louiscad
09/12/2020, 7:26 PMdynamic
(Not sure why you return dynamic
BTW)dan.the.man
09/12/2020, 7:28 PM