Skip to content

Commit

Permalink
Fix failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Nov 24, 2024
1 parent f8aeeed commit f76fdb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/tests/tests/Test.mint
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ suite "Test with HTML reference" {
test "it works" {
<button as button/>
|> Test.Html.start
|> (context : Test.Context(Dom.Element)) { button != Maybe.Nothing }
|> Test.Context.map((item : Dom.Element) { button != Maybe.Nothing })
}
}

Expand All @@ -36,6 +36,6 @@ suite "Test with Component reference" {
test "it works" {
<TestReference as button/>
|> Test.Html.start
|> (context : Test.Context(Dom.Element)) { button != Maybe.Nothing }
|> Test.Context.map((item : Dom.Element) { button != Maybe.Nothing })
}
}
1 change: 0 additions & 1 deletion runtime/src/testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ class TestRunner {
}
}
} catch (error) {
console.log(error)
// An error occurred while trying to run a test; this is different from the test itself failing.
this.reportTested(test, "ERRORED", error);
}
Expand Down
Loading

0 comments on commit f76fdb3

Please sign in to comment.