Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Richardson <mike.richardson@ontario.ca>
  • Loading branch information
NB-MikeRichardson committed Nov 9, 2022
1 parent e7ca009 commit e35ea9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ describe('JsonLd CredentialFormatService', () => {

test('Derive Verification Method', async () => {
mockFunction(didResolver.resolveDidDocument).mockReturnValue(Promise.resolve(didDocument as any))
mockFunction(w3cCredentialService.getVerificationMethodTypesByProofType).mockReturnValue(['Ed25519VerificationKey2018'])
mockFunction(w3cCredentialService.getVerificationMethodTypesByProofType).mockReturnValue([
'Ed25519VerificationKey2018',
])

const service = jsonldFormatService as JsonLdCredentialFormatService
const credentialRequest = requestAttachment.getDataAsJson<SignCredentialOptionsRFC0593>()
Expand Down

0 comments on commit e35ea9e

Please sign in to comment.