Skip to content

fix: draft 11

fix: draft 11 #55

Triggered via push November 8, 2024 10:00
Status Failure
Total duration 30s
Artifacts

ci.yml

on: push
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts > Oid4vciIssuer > create issuer metadata, create a credential offer, parse a credential request, create a credential response: packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts#L99
AssertionError: expected { …(2) } to strictly equal { …(2) } - Expected + Received Object { - "credentialOffer": "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fcredential-issuer.com%22%2C%22credential_configuration_ids%22%3A%5B%22pidSdJwt%22%5D%2C%22grants%22%3A%7B%22authorization_code%22%3A%7B%7D%2C%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI%22%7D%7D%7D", + "credentialOffer": "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fcredential-issuer.com%22%2C%22credential_configuration_ids%22%3A%5B%22pidSdJwt%22%5D%2C%22grants%22%3A%7B%22authorization_code%22%3A%7B%7D%2C%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI%22%7D%7D%2C%22credentials%22%3A%5B%22pidSdJwt%22%5D%7D", "credentialOfferObject": Object { "credential_configuration_ids": Array [ "pidSdJwt", ], "credential_issuer": "https://credential-issuer.com", + "credentials": Array [ + "pidSdJwt", + ], "grants": Object { "authorization_code": Object {}, "urn:ietf:params:oauth:grant-type:pre-authorized_code": Object { "pre-authorized_code": "qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI", }, }, }, } ❯ packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts:99:29
Tests (18)
Process completed with exit code 1.
packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts > Oid4vciIssuer > create issuer metadata, create a credential offer, parse a credential request, create a credential response: packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts#L99
AssertionError: expected { …(2) } to strictly equal { …(2) } - Expected + Received Object { - "credentialOffer": "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fcredential-issuer.com%22%2C%22credential_configuration_ids%22%3A%5B%22pidSdJwt%22%5D%2C%22grants%22%3A%7B%22authorization_code%22%3A%7B%7D%2C%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI%22%7D%7D%7D", + "credentialOffer": "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fcredential-issuer.com%22%2C%22credential_configuration_ids%22%3A%5B%22pidSdJwt%22%5D%2C%22grants%22%3A%7B%22authorization_code%22%3A%7B%7D%2C%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI%22%7D%7D%2C%22credentials%22%3A%5B%22pidSdJwt%22%5D%7D", "credentialOfferObject": Object { "credential_configuration_ids": Array [ "pidSdJwt", ], "credential_issuer": "https://credential-issuer.com", + "credentials": Array [ + "pidSdJwt", + ], "grants": Object { "authorization_code": Object {}, "urn:ietf:params:oauth:grant-type:pre-authorized_code": Object { "pre-authorized_code": "qbRsnksAVad5J33Tw231MQDf5nvyiR-xsnvWXfo35NI", }, }, }, } ❯ packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts:99:29
Tests (20)
Process completed with exit code 1.
Tests (18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/