From 209da69ede29a4933522940a3935280b468a384c Mon Sep 17 00:00:00 2001 From: Benjamin Young Date: Tue, 5 Nov 2024 11:03:23 -0500 Subject: [PATCH] Allow testing of issuers w/o verifiers. --- tests/helpers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/helpers.js b/tests/helpers.js index 0d946ca..d7eb18d 100644 --- a/tests/helpers.js +++ b/tests/helpers.js @@ -136,6 +136,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