Skip to content

Commit 209da69

Browse files
BigBlueHatPatStLouis
authored andcommitted
Allow testing of issuers w/o verifiers.
1 parent bbd9baa commit 209da69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/helpers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ export const endpointCheck = ({endpoint, vcVersion, keyType}) => {
136136
*/
137137
export function filterVerifiers({implementation}) {
138138
const endpoints = implementation.verifiers;
139+
if(undefined === endpoints) {
140+
return [];
141+
}
139142
// the filter function expects an array to be returned
140143
return endpoints.filter(e => {
141144
// we want only endpoints that match every tag

0 commit comments

Comments
 (0)