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
18 lines
366 B
package outwatchapp
|
|
|
|
import org.scalajs.dom._
|
|
import outwatch._
|
|
import outwatch.dsl._
|
|
|
|
import cats.effect.IO
|
|
|
|
class OutwatchtestSpec extends JSDomSpec {
|
|
|
|
"You" should "probably add some tests" in {
|
|
|
|
val message = "Hello World!"
|
|
OutWatch.renderInto[IO]("#app", h1(message)).unsafeRunSync()
|
|
|
|
document.body.innerHTML.contains(message) shouldBe true
|
|
}
|
|
}
|