Skip to content

Commit 3f76e12

Browse files
committed
add type assertion to tests
1 parent 12595cf commit 3f76e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/router-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test('Router > runs middleware before determining routing', async (t) => {
2222
t.is(count, 2);
2323
}
2424
});
25-
let router = container.lookup('app:router');
25+
let router = <Router>container.lookup('app:router');
2626
router.use((req, res, next) => {
2727
count += 1;
2828
t.is(count, 1);

0 commit comments

Comments
 (0)