Skip to content

Commit

Permalink
Allow testing of issuers w/o verifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBlueHat authored and PatStLouis committed Nov 25, 2024
1 parent bbd9baa commit 209da69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 209da69

Please sign in to comment.