Skip to content

Commit 1cc8fce

Browse files
committed
Don't do weird stuff
1 parent 18aa42b commit 1cc8fce

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

build.sbt

+2-8
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,6 @@ lazy val useJSEnv =
109109

110110
Global / useJSEnv := JSEnv.NodeJS
111111

112-
lazy val safariEnv = {
113-
import scala.sys.process._
114-
Process(List("killall", "Safari")).!
115-
val options = new SafariOptions()
116-
new SeleniumJSEnv(options, SeleniumJSEnv.Config().withKeepAlive(true))
117-
}
118-
119112
ThisBuild / Test / jsEnv := {
120113
import JSEnv._
121114

@@ -148,7 +141,8 @@ ThisBuild / Test / jsEnv := {
148141
}
149142
new SeleniumJSEnv(options, SeleniumJSEnv.Config().withDriverFactory(factory))
150143
case Safari =>
151-
safariEnv
144+
val options = new SafariOptions()
145+
new SeleniumJSEnv(options, SeleniumJSEnv.Config().withKeepAlive(true))
152146
}
153147
}
154148

0 commit comments

Comments
 (0)