Skip to content

Commit 8f0b9d9

Browse files
committed
Use should to test issuer property exists.
1 parent 05f9ae3 commit 8f0b9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/4.07-issuer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('Issuer', function() {
3333
this.test.link = `https://w3c.github.io/vc-data-model/#issuer:~:text=A%20verifiable%20credential%20MUST%20have%20an%20issuer%20property.`;
3434
const vc = await endpoints.issue(
3535
require('./input/credential-ok.json'));
36-
vc.hasOwnProperty('issuer');
36+
vc.should.have.property('issuer');
3737
});
3838
it('The value of the issuer property MUST be either a URL or an ' +
3939
'object containing an id property whose value is a URL; ' +

0 commit comments

Comments
 (0)