Skip to content

Commit 203be01

Browse files
authored
Merge pull request #276 from sjrd/scalajs-node-test
Use the executable "nodejs" when testing Scala.js.
2 parents 381b967 + 80ef017 commit 203be01

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

common.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,10 @@ 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+
// We disable source map tests to save ourselves a `npm install source-map-support` on the workers
553+
"set jsEnv in testSuite := NodeJSEnv(executable = \"nodejs\").value.withSourceMap(false)"
551554
]
552555
}
553556
}

0 commit comments

Comments
 (0)