jvmMain.dk.cachet.carp.test.runSuspendTest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of carp.test-jvm Show documentation
Show all versions of carp.test-jvm Show documentation
Helper classes relied upon by test projects of all subsystems. E.g., to disable tests specified in common part of projects for the JavaScript runtime only.
package dk.cachet.carp.test
import kotlinx.coroutines.runBlocking
actual fun runSuspendTest( block: suspend () -> Unit ) = runBlocking { block() }