aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/testutil/KotestPlugin.kt
blob: 6db50fb51bdce285b498d1e7aae6ba726e7ed596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()
	}
}