Skip to content

Commit

Permalink
Enable implementations without verifiers
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis authored and BigBlueHat committed Dec 2, 2024
1 parent 9d44aae commit 5a55291
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 @@ -39,6 +39,9 @@ export const supportsVc = ({vcVersion, endpoint}) => {
*/
export function filterVerifiers({implementation}) {
const endpoints = implementation.verifiers;
if(undefined === endpoints) {
return [];
}
return endpoints.filter(endpoint => {
// this.tags must be supplied via bind
if(this.tags.every(tag => endpoint.tags.has(tag))) {
Expand Down

0 comments on commit 5a55291

Please sign in to comment.