From efd61f05de395773707c6d2e7f707525f0ae91e6 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Sat, 16 Oct 2021 13:48:47 -0700 Subject: [PATCH] Remove Scala.js-specific instructions No longer necessary as of #376 --- docs/getting-started.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 534893fc..42e4b73b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -47,28 +47,6 @@ object test extends Tests { } ``` -### Scala.js setup - -Additionally, if you are using Scala.js you will need to export your tests as -CommonJS modules: - -**sbt:** - -```scala -// The use of "Test / " allows the rest of your project to use a different module kind -Test / scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) } -``` - -**Mill** - -```scala -object test extends Tests { - ... - - override def moduleKind = T(mill.scalajslib.api.ModuleKind.CommonJSModule) -} -``` - | Scala Version | JVM | Scala.js (0.6.x) | Scala.js (1.x) | Native (0.4.x) | | ------------- | :-: | :--------------: | :------------: | :------------: | | 2.11.x | ✅ | ✅ until 0.7.16 | ✅ | ✅ |