Skip to content

Commit c182410

Browse files
committed
Use the executable "nodejs" when testing Scala.js.
Scala.js will change its default runner from Rhino to Node.js in 0.6.13 (see scala-js/scala-js#2579). By default, it looks for an executable called `"node"`, but on the community build infrastructure, Node.js is called `"nodejs"`. This commit instructs Scala.js to use `"nodejs"` instead.
1 parent 381b967 commit c182410

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,9 @@ build += {
547547
// - Disable compiler/test because it is very fragile.
548548
"set test in (Build.compiler, Test) := {}",
549549
// - Disable fatal Scaladoc warnings, also fragile
550-
"removeScalacOptions -Xfatal-warnings"
550+
"removeScalacOptions -Xfatal-warnings",
551+
// - Use Node.js with the executable "nodejs" instead of "node" (environmental in the CI infrastructure)
552+
"set jsEnv in testSuite := NodeJSEnv(executable = \"nodejs\").value"
551553
]
552554
}
553555
}

0 commit comments

Comments
 (0)