mint icon indicating copy to clipboard operation
mint copied to clipboard

Allow `as` element references inside of test blocks

Open farism opened this issue 2 years ago • 0 comments

Being able to do something like this could be convenient

suite "Button" {
  test "has a reference" {
      <button as btn/>
          |> Test.Html.start
          |> (ctx : Test.Context(Dom.Element)) {
            btn != Maybe::Nothing
          }
  }
}

farism avatar Sep 03 '23 23:09 farism