I am trying to use MUnit with Scala.js 1.0.1 and Scala 2.13, but the linker is encountering errors:
$ sbt test
[...]
[info] Fast optimizing /tmp/testtest/munit-scalajs-10/root/target/scala-2.13/root-test-fastopt.js
[error] munit.internal.JSFs$ needs to be imported from module 'fs' but module support is disabled.
[error] munit.internal.JSPath$ needs to be imported from module 'path' but module support is disabled.
[error] There were module imports without fallback to global variables, but module support is disabled.
[error] To enable module support, set `scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))`.
[error] (root / Test / fastOptJS) There were module imports without fallback to global variables, but module support is disabled.
[error] To enable module support, set `scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule))`.
[E] org.junit.runner.Runner (of kind Class) is not a valid interface implemented by munit.MUnitRunner (of kind Class)
[E] called from munit.MUnitRunner
[E] called from private munit.internal.PlatformCompat$.$anonfun$newRunner$1(scala.scalajs.reflect.InstantiatableClass)munit.MUnitRunner
[E] called from munit.internal.PlatformCompat$.newRunner(sbt.testing.TaskDef,java.lang.ClassLoader)scala.Option
[E] called from munit.internal.junitinterface.JUnitTask.execute(sbt.testing.EventHandler,[sbt.testing.Logger,scala.Function1)void
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.$anonfun$scheduleTask$1(sbt.testing.Task,org.scalajs.testing.bridge.HTMLRunner$EventCounter$Handler,org.scalajs.testing.bridge.HTMLRunner$UI$TestTask,scala.concurrent.Promise)void
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.scheduleTask(sbt.testing.Task,org.scalajs.testing.bridge.HTMLRunner$UI)scala.concurrent.Future
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.$anonfun$runTests$1(org.scalajs.testing.bridge.HTMLRunner$UI,sbt.testing.Task)scala.concurrent.Future
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.runAllTasks$1(scala.collection.Seq,org.scalajs.testing.bridge.HTMLRunner$UI)scala.concurrent.Future
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.runTests(sbt.testing.Framework,scala.collection.immutable.Seq,org.scalajs.testing.bridge.HTMLRunner$UI)scala.concurrent.Future
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.$anonfun$onLoad$10(scala.Function1,org.scalajs.testing.bridge.HTMLRunner$UI,scala.Tuple2)scala.concurrent.Future
[E] called from private org.scalajs.testing.bridge.HTMLRunner$.onLoad(org.scalajs.testing.common.IsolatedTestSet)void
[E] called from org.scalajs.testing.bridge.HTMLRunner$.org$scalajs$testing$bridge$HTMLRunner$$$anonfun$start$1(org.scalajs.testing.common.IsolatedTestSet)void
[E] called from org.scalajs.testing.bridge.HTMLRunner$.start(org.scalajs.testing.common.IsolatedTestSet)void
[E] called from org.scalajs.testing.bridge.Bridge$.start()void
[E] called from static org.scalajs.testing.bridge.Bridge.start()void
[E] called from core module module initializers
[E] involving instantiated classes:
[E] munit.internal.PlatformCompat$
[E] munit.internal.junitinterface.JUnitTask
[E] org.scalajs.testing.bridge.HTMLRunner$
[E] org.scalajs.testing.bridge.Bridge$
"classpath" : [
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-junit-test-runtime_2.13/1.0.1/scalajs-junit-test-runtime_2.13-1.0.1.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.13/1.0.1/scalajs-library_2.13-1.0.1.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-test-bridge_2.13/1.0.1/scalajs-test-bridge_2.13-1.0.1.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-test-interface_2.13/1.0.1/scalajs-test-interface_2.13-1.0.1.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.2/scala-library-2.13.2.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.2/scala-reflect-2.13.2.jar",
"/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scalameta/munit_sjs1_2.13/0.7.3/munit_sjs1_2.13-0.7.3.jar",
"/tmp/build-test-scalajs-10/bloop/example"
]