Skip to content

Commit 6ccb478

Browse files
committed
Allow testing of issuers w/o verifiers.
1 parent 492f6e5 commit 6ccb478

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
@@ -123,6 +123,9 @@ export const endpointCheck = ({endpoint, vcVersion, keyType}) => {
123123
*/
124124
export function filterVerifiers({implementation}) {
125125
const endpoints = implementation.verifiers;
126+
if(undefined === endpoints) {
127+
return [];
128+
}
126129
// the filter function expects an array to be returned
127130
return endpoints.filter(e => {
128131
// we want only endpoints that match every tag

0 commit comments

Comments
 (0)