Skip to content

Commit

Permalink
Remove Scala.js-specific instructions
Browse files Browse the repository at this point in the history
No longer necessary as of scalameta#376
  • Loading branch information
armanbilge authored Oct 16, 2021
1 parent 36aeb75 commit efd61f0
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |||
Expand Down

0 comments on commit efd61f0

Please sign in to comment.