Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 80042d2

Browse files
committed
Fix munit integration
1 parent 5dab53e commit 80042d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.sbt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,16 @@ lazy val munit = (projectMatrix in file("munit"))
123123
name := "diffx-munit",
124124
libraryDependencies ++= Seq(
125125
"org.scalameta" %%% "munit" % "0.7.26"
126-
)
126+
),
127+
testFrameworks += new TestFramework("munit.Framework")
127128
)
128129
.dependsOn(core)
129130
.jvmPlatform(
130131
scalaVersions = List(scala212, scala213)
131132
)
132133
.jsPlatform(
133-
scalaVersions = List(scala212, scala213)
134+
scalaVersions = List(scala212, scala213),
135+
settings = commonSettings ++ Seq(scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) })
134136
)
135137

136138
lazy val tagging = (projectMatrix in file("tagging"))

0 commit comments

Comments
 (0)