fix(core): update
This commit is contained in:
parent
e049899599
commit
e499612ecb
@ -69,7 +69,7 @@ tap.test('should define a testHandler', async () => {
|
|||||||
testTypedRouter.addTypedHandler(testTypedHandler);
|
testTypedRouter.addTypedHandler(testTypedHandler);
|
||||||
testServer.addRoute(
|
testServer.addRoute(
|
||||||
'/testroute',
|
'/testroute',
|
||||||
new smartexpress.HandlerTypedRouter(testTypedRouter as any)
|
new smartexpress.HandlerTypedRouter(testTypedRouter as any) // the "any" is testspecific, since smartexpress ships with its own version of typedrequest.
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ tap.test('should define a testHandler', async () => {
|
|||||||
testTypedRouter.addTypedHandler(testTypedHandler);
|
testTypedRouter.addTypedHandler(testTypedHandler);
|
||||||
testServer.addRoute(
|
testServer.addRoute(
|
||||||
'/testroute',
|
'/testroute',
|
||||||
new smartexpress.HandlerTypedRouter(testTypedRouter as any)
|
new smartexpress.HandlerTypedRouter(testTypedRouter as any) // the "any" is testspecific, since smartexpress ships with its own version of typedrequest.
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user