Skip to content

Commit 6015d8e

Browse files
committed
Refactor tests
1 parent fe0471d commit 6015d8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ describe('Routing', function() {
7070
var dom = app.refs.router.getDOMNode();
7171
if (dom.classList)
7272
assert.ok(dom.classList.contains('App'));
73+
});
74+
75+
it('passes props from location down to handler', function() {
76+
assert.equal(getText(host), 'mainpage');
7377
assert.equal(router.refs.link.props.foo, 'bar');
7478
});
7579

0 commit comments

Comments
 (0)