diff --git a/test/verify.test.js b/test/verify.test.js index c89bf5b..cb6e728 100644 --- a/test/verify.test.js +++ b/test/verify.test.js @@ -43,7 +43,8 @@ const pattern = { path: _.isArray, relation: _.isString }, - qr: (x) => { return _.isString(x) || _.isNull(x) } + qr: (x) => { return _.isString(x) || _.isNull(x) }, + customRequestHandler: (x) => { return _.isFunction(x) || _.isNull(x) || _.isUndefined(x) } } describe('verify', () => {