Skip to content

Commit

Permalink
add type assertion to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davewasmer committed Mar 25, 2017
1 parent 53c06e6 commit 79d301b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/router-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test('Router > runs middleware before determining routing', async (t) => {
t.is(count, 2);
}
});
let router = container.lookup('app:router');
let router = <Router>container.lookup('app:router');
router.use((req, res, next) => {
count += 1;
t.is(count, 1);
Expand Down

0 comments on commit 79d301b

Please sign in to comment.