mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Add testing for customRequestHandler
This commit is contained in:
parent
12e638f8de
commit
fbdda1de91
1 changed files with 2 additions and 1 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue