mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Adds test for updated app.use definition
This commit is contained in:
@@ -137,6 +137,9 @@ namespace express_tests {
|
||||
req.next;
|
||||
res.req;
|
||||
});
|
||||
|
||||
// Test mounting sub-apps
|
||||
app.use('/sub-app', express());
|
||||
|
||||
// Test on mount event
|
||||
app.on('mount', (parent) => true);
|
||||
|
||||
Reference in New Issue
Block a user