Skip to content

Commit

Permalink
fix: fixed test type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sksadjad committed May 16, 2024
1 parent c5be065 commit ca32202
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions packages/client/lib/__tests__/SdJwt.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ describe('sd-jwt vc', () => {
},
credentials: {
SdJwtCredentialId: {
credential_definition: {
type: ['SdJwtCredential']
},
format: 'vc+sd-jwt',
vct: 'SdJwtCredential',
id: 'SdJwtCredentialId',
Expand Down
1 change: 0 additions & 1 deletion packages/issuer-rest/lib/__tests__/ClientIssuerIT.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
Alg,
CredentialConfigurationSupportedV1_0_13,
CredentialOfferSession,
CredentialSupported,
IssuerCredentialSubjectDisplay,
Jwt,
JWTHeader,
Expand Down
7 changes: 4 additions & 3 deletions packages/issuer/lib/__tests__/VcIssuer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ describe('VcIssuer', () => {
scheme: 'http',
baseUri: 'issuer-example.com',
credentials: {
Credential: {
format: 'ldp_vc',
} as CredentialSupported,
"Credential": {
credential_definition: {type: ["VerifiableCredential"]},
format: 'ldp_vc'
},
},
credentialOfferUri: 'https://somehost.com/offer-id',
})
Expand Down

0 comments on commit ca32202

Please sign in to comment.