diff --git a/tests/helpers.js b/tests/helpers.js index 5dc06626..74d44c55 100644 --- a/tests/helpers.js +++ b/tests/helpers.js @@ -123,6 +123,9 @@ export const endpointCheck = ({endpoint, vcVersion, keyType}) => { */ export function filterVerifiers({implementation}) { const endpoints = implementation.verifiers; + if(undefined === endpoints) { + return []; + } // the filter function expects an array to be returned return endpoints.filter(e => { // we want only endpoints that match every tag