Fix issue in build script for tests module

This commit is contained in:
Alexey Andreev 2023-08-28 14:11:01 +02:00
parent 40c4f03e3b
commit d655f01d14

View File

@ -43,7 +43,7 @@ tasks.test {
systemProperty("teavm.junit.threads", "1") systemProperty("teavm.junit.threads", "1")
val browser = providers.gradleProperty("teavm.tests.browser").orElse("browser-chrome").get() val browser = providers.gradleProperty("teavm.tests.browser").orElse("browser-chrome").get()
systemProperty("teavm.junit.js", providers.gradleProperty("teavm.tests.wasm").orElse("true").get()) systemProperty("teavm.junit.js", providers.gradleProperty("teavm.tests.js").orElse("true").get())
systemProperty("teavm.junit.js.runner", browser) systemProperty("teavm.junit.js.runner", browser)
systemProperty("teavm.junit.minified", providers.gradleProperty("teavm.tests.minified").orElse("false").get()) systemProperty("teavm.junit.minified", providers.gradleProperty("teavm.tests.minified").orElse("false").get())
systemProperty("teavm.junit.optimized", providers.gradleProperty("teavm.tests.optimized").orElse("false").get()) systemProperty("teavm.junit.optimized", providers.gradleProperty("teavm.tests.optimized").orElse("false").get())