Skip to content

Commit 6bccc7e

Browse files
committed
Only skip a specific test
1 parent ca4e81a commit 6bccc7e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

snabbdom/src/test/scala/snabbdom/ThunkSuite.scala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ import org.scalajs.dom
4242

4343
class ThunkSuite extends BaseSuite {
4444

45-
override def munitIgnore: Boolean = // TODO isolate which test doesn't work
46-
dom.window.navigator.userAgent.contains("jsdom")
47-
4845
val vnode0 = FunFixture[dom.Element](
4946
setup = { _ =>
5047
dom.document.createElement("div")
@@ -177,6 +174,11 @@ class ThunkSuite extends BaseSuite {
177174
}
178175

179176
vnode0.test("supports leaving out the `key` argument") { vnode0 =>
177+
assume(
178+
!dom.window.navigator.userAgent.contains("jsdom"),
179+
"This test is broken on JSDOM"
180+
)
181+
180182
val vnodeFn = (args: Seq[Any]) => {
181183
val s = args.head.asInstanceOf[String]
182184
h("span.number", s"Hello $s")

0 commit comments

Comments
 (0)