Skip to content

Commit a52cc7a

Browse files
committed
Actually check the content of the test log (at least a bit).
1 parent f64f664 commit a52cc7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Issue8.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ class Issue8 {
1818
public function test() {
1919
var rendered = ReactTestRenderer.create(hxx('<Root />'));
2020
asserts.assert(msgs.length == 2);
21+
asserts.assert(msgs[0] == 'render Root 1');
2122
rendered.root.findByType(Div).props.onclick();
2223
updateAll();
2324
asserts.assert(msgs.length == 3);
25+
asserts.assert(msgs[2] == 'render Root 0');
2426
return asserts.done();
2527
}
2628
}

0 commit comments

Comments
 (0)