Skip to content

Commit 22f8ae9

Browse files
committed
Bugfix for testWarningsReact test
1 parent 372ced5 commit 22f8ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

downstream-tests/js/src/test/scala/downstream/RuntimeTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ object RuntimeTests extends AsyncTestSuite {
9696
"react" - {
9797
val c = ScalaFnComponent[Int](i => <.p(<.td(s"i = $i")))
9898
ReactTestUtils.withRendered_(c(123))(_ => ()).attemptTry.map { t =>
99-
assertEq(t.isFailure, testWarningsReact.contains("react"))
100-
t.toEither
99+
assertEq(t.isFailure, testWarningsReact.contains("fatal"))
100+
(testWarningsReact, t.toEither)
101101
}
102102
}
103103

0 commit comments

Comments
 (0)