Fix types in test

This commit is contained in:
Yarmo Mackenbach 2022-11-17 21:11:00 +01:00
parent c7bd4fe81e
commit 2efa2cbde8
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -49,9 +49,7 @@ const pattern = {
data: _.isObject, data: _.isObject,
}, },
}, },
claim: (x) => { claim: _.isArray
return _.isObject(x) || _.isArray(x)
},
} }
doipjs.claimDefinitions.list.forEach((claimDefName, i) => { doipjs.claimDefinitions.list.forEach((claimDefName, i) => {