diff options
Diffstat (limited to 'src/test/kotlin/testutil/KotestPlugin.kt')
-rw-r--r-- | src/test/kotlin/testutil/KotestPlugin.kt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/kotlin/testutil/KotestPlugin.kt b/src/test/kotlin/testutil/KotestPlugin.kt new file mode 100644 index 0000000..6db50fb --- /dev/null +++ b/src/test/kotlin/testutil/KotestPlugin.kt @@ -0,0 +1,16 @@ +package moe.nea.firmament.test.testutil + +import io.kotest.core.config.AbstractProjectConfig +import io.kotest.core.extensions.Extension +import moe.nea.firmament.test.FirmTestBootstrap + +class KotestPlugin : AbstractProjectConfig() { + override fun extensions(): List<Extension> { + return listOf() + } + + override suspend fun beforeProject() { + FirmTestBootstrap.bootstrapMinecraft() + super.beforeProject() + } +} |