add readme, expand tests
This commit is contained in:
@ -57,7 +57,8 @@ describe('requestor', () => {
|
||||
'put-/sub/',
|
||||
'delete-/sub/',
|
||||
'all-/sub/',
|
||||
'get-/sub/lv1/lv2/lv3/'
|
||||
'get-/sub/lv1/lv2/lv3/',
|
||||
'all-/sub/root/'
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
3
test/sub/all-sub.root.js
Normal file
3
test/sub/all-sub.root.js
Normal file
@ -0,0 +1,3 @@
|
||||
module.exports = (req, res, next, opts) => {
|
||||
// dummy endpoint: do nothing
|
||||
};
|
Reference in New Issue
Block a user