Skip to content

Commit 3a50329

Browse files
committed
Prevent failing on missing vpVerifier info.
1 parent dbdce18 commit 3a50329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/413.2-envelopes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('VP - Enveloped Verifiable Credentials', function() {
2929
const issuerEnvelopeSupport =
3030
endpoints.issuer.settings.tags.includes(
3131
'EnvelopingProof');
32-
const vpVerifierEnvelopeSupport =
32+
const vpVerifierEnvelopeSupport = endpoints.vpVerifier &&
3333
endpoints.vpVerifier.settings.tags.includes(
3434
'EnvelopingProof');
3535

@@ -111,7 +111,7 @@ describe('VP - Enveloped Verifiable Presentations', function() {
111111
setupMatrix.call(this, match);
112112
for(const [name, implementation] of match) {
113113
const endpoints = new TestEndpoints({implementation, tag});
114-
const vpVerifierEnvelopeSupport =
114+
const vpVerifierEnvelopeSupport = endpoints.vpVerifier &&
115115
endpoints.vpVerifier.settings.tags.includes(
116116
'EnvelopingProof');
117117

0 commit comments

Comments
 (0)