Facing ReferenceError while running tests with ScalaJS Bundler
问题 I am facing this issue when upgrading from sbt-scalajs 0.6.x to 1.2.0 and the issue is:- With sbt-scalajs v0.6.26 (and sbt-scalajs-bundler v0.14.0 ), I have enabled the jsdom support for tests: requireJsDomEnv in Test := true And test suites are running fine. But with sbt-scalajs v1.2.0 (and sbt-scalajs-bundler v0.18.0 ), I have enabled the jsdom support for tests too: requireJsDomEnv in Test := true But this is giving me the following error: [info] Writing and bundling the test loader