diff --git a/test/claimDefinitions.test.js b/test/claimDefinitions.test.js index 68a79a2..222939b 100644 --- a/test/claimDefinitions.test.js +++ b/test/claimDefinitions.test.js @@ -49,9 +49,7 @@ const pattern = { data: _.isObject, }, }, - claim: (x) => { - return _.isObject(x) || _.isArray(x) - }, + claim: _.isArray } doipjs.claimDefinitions.list.forEach((claimDefName, i) => {