com.github.mvysny.kaributesting.v10.mock.FakeDeploymentConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of karibu-testing-v10 Show documentation
Show all versions of karibu-testing-v10 Show documentation
Karibu Testing, support for browserless Vaadin testing in Kotlin
package com.github.mvysny.kaributesting.v10.mock
import com.vaadin.flow.function.DeploymentConfiguration
import java.io.File
public class FakeDeploymentConfiguration(public val delegate: DeploymentConfiguration) : DeploymentConfiguration by delegate {
public override fun getProjectFolder(): File? {
// workaround for https://github.com/vaadin/flow/issues/18682
// we used to return null here, but Hilla hates that.
return File(".").absoluteFile
}
}