Skip to content

Commit

Permalink
fix if id statement
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick <[email protected]>
  • Loading branch information
PatStLouis committed Aug 9, 2024
1 parent 59115f1 commit 9142559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/10-issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('Issuers - BitstringStatusList',
async function() {
this.test.link = 'https://www.w3.org/TR/vc-bitstring-status-list/#:~:text=If%20present%2C%20the%20value%20is%20expected%20to%20be%20a%20URL%20that%20identifies%20the%20status%20information%20associated%20with%20the%20verifiable%20credential.';
for(statusEntry in statusEntries) {
if(!!statusEntries[statusEntry].id) {
if('id' in statusEntries[statusEntry]) {
// TODO test for URI
statusEntries[statusEntry].id.should.be.a('string',
'Expected credentialStatus.id to be a string.'
Expand Down

0 comments on commit 9142559

Please sign in to comment.