JS Kotest runner: fix coroutines

Currently, the JS runner starts the coroutines but never waits for them, so the test is marked as finished (and successful) even if asynchronous tasks later fail.

Edited by Ivan “CLOVIS” Canet