Skip to content

Commit 03b623e

Browse files
committed
Return env in js
1 parent fc4e710 commit 03b623e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package io.kotest.mpp
22

33
actual fun sysprop(name: String): String? = null
4-
actual fun env(name: String): String? = null
4+
actual fun env(name: String): String? = js("process.env[name]") as String?

kotest-framework/kotest-framework-engine/src/commonMain/kotlin/io/kotest/engine/spec/interceptor/SystemPropertySpecFilterInterceptor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import io.kotest.core.test.TestCase
1111
import io.kotest.core.test.TestResult
1212
import io.kotest.engine.listener.TestEngineListener
1313
import io.kotest.engine.spec.SpecExtensions
14-
import io.kotest.engine.test.status.SystemPropertyTestFilterEnabledExtension
1514
import io.kotest.mpp.Logger
1615
import io.kotest.mpp.bestName
1716
import io.kotest.mpp.syspropOrEnv

0 commit comments

Comments
 (0)