Skip to content

Commit f76fdb3

Browse files
committed
Fix failing tests.
1 parent f8aeeed commit f76fdb3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

core/tests/tests/Test.mint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ suite "Test with HTML reference" {
2222
test "it works" {
2323
<button as button/>
2424
|> Test.Html.start
25-
|> (context : Test.Context(Dom.Element)) { button != Maybe.Nothing }
25+
|> Test.Context.map((item : Dom.Element) { button != Maybe.Nothing })
2626
}
2727
}
2828

@@ -36,6 +36,6 @@ suite "Test with Component reference" {
3636
test "it works" {
3737
<TestReference as button/>
3838
|> Test.Html.start
39-
|> (context : Test.Context(Dom.Element)) { button != Maybe.Nothing }
39+
|> Test.Context.map((item : Dom.Element) { button != Maybe.Nothing })
4040
}
4141
}

runtime/src/testing.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ class TestRunner {
210210
}
211211
}
212212
} catch (error) {
213-
console.log(error)
214213
// An error occurred while trying to run a test; this is different from the test itself failing.
215214
this.reportTested(test, "ERRORED", error);
216215
}

0 commit comments

Comments
 (0)