You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
366 B

3 years ago
  1. package outwatchapp
  2. import org.scalajs.dom._
  3. import outwatch._
  4. import outwatch.dsl._
  5. import cats.effect.IO
  6. class OutwatchtestSpec extends JSDomSpec {
  7. "You" should "probably add some tests" in {
  8. val message = "Hello World!"
  9. OutWatch.renderInto[IO]("#app", h1(message)).unsafeRunSync()
  10. document.body.innerHTML.contains(message) shouldBe true
  11. }
  12. }