Skip to content

Commit 3428567

Browse files
committed
chore: made tests pass again
1 parent 9513525 commit 3428567

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/client/lib/__tests__/SdJwt.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ describe('sd-jwt vc', () => {
151151
.reply(200, async (_, body) =>
152152
vcIssuer.issueCredential({
153153
credentialRequest: { ...(body as any), credential_identifier: 'SdJwtCredential' },
154+
issuerCorrelation: {
155+
preAuthorizedCode: '123'
156+
},
154157
credential: {
155158
vct: 'Hello',
156159
iss: 'did:example:123',
@@ -259,6 +262,9 @@ describe('sd-jwt vc', () => {
259262
.reply(200, async (_, body) =>
260263
vcIssuer.issueCredential({
261264
credentialRequest: { ...(body as any), credential_identifier: offered.vct },
265+
issuerCorrelation: {
266+
preAuthorizedCode: '123'
267+
},
262268
credential: {
263269
vct: 'Hello',
264270
iss: 'example.com',

0 commit comments

Comments
 (0)