From 2efa2cbde8025468da3aa9bd40e6481e5d2eada9 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 17 Nov 2022 21:11:00 +0100 Subject: [PATCH] Fix types in test --- test/claimDefinitions.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) => {