@@ -62,10 +62,10 @@ describe('ProofOfPossession Builder ', () => {
6262 it ( 'should fail without supplied proof or callbacks and with kid without did' , async function ( ) {
6363 await expect (
6464 ProofOfPossessionBuilder . fromProof ( undefined as never , OpenId4VCIVersion . VER_1_0_13 )
65- . withIssuer ( IDENTIPROOF_ISSUER_URL )
66- . withClientId ( 'sphereon:wallet' )
67- . withKid ( kid_withoutDid )
68- . build ( ) ,
65+ . withIssuer ( IDENTIPROOF_ISSUER_URL )
66+ . withClientId ( 'sphereon:wallet' )
67+ . withKid ( kid_withoutDid )
68+ . build ( ) ,
6969 ) . rejects . toThrow ( Error ( PROOF_CANT_BE_CONSTRUCTED ) ) ;
7070 } ) ;
7171
@@ -87,11 +87,11 @@ describe('ProofOfPossession Builder ', () => {
8787 callbacks : { signCallback : proofOfPossessionCallbackFunction } ,
8888 version : OpenId4VCIVersion . VER_1_0_08 ,
8989 } )
90- . withJwt ( undefined as never )
91- . withIssuer ( IDENTIPROOF_ISSUER_URL )
92- . withClientId ( 'sphereon:wallet' )
93- . withKid ( kid_withoutDid )
94- . build ( ) ,
90+ . withJwt ( undefined as never )
91+ . withIssuer ( IDENTIPROOF_ISSUER_URL )
92+ . withClientId ( 'sphereon:wallet' )
93+ . withKid ( kid_withoutDid )
94+ . build ( ) ,
9595 ) . toThrow ( Error ( NO_JWT_PROVIDED ) ) ;
9696 } ) ;
9797
@@ -118,10 +118,10 @@ describe('ProofOfPossession Builder ', () => {
118118 } ,
119119 version : OpenId4VCIVersion . VER_1_0_08 ,
120120 } )
121- . withIssuer ( IDENTIPROOF_ISSUER_URL )
122- . withKid ( kid_withoutDid )
123- . withClientId ( 'sphereon:wallet' )
124- . build ( ) ;
121+ . withIssuer ( IDENTIPROOF_ISSUER_URL )
122+ . withKid ( kid_withoutDid )
123+ . withClientId ( 'sphereon:wallet' )
124+ . build ( ) ;
125125 expect ( proof ) . toBeDefined ( ) ;
126126 } ) ;
127127
@@ -152,10 +152,10 @@ describe('ProofOfPossession Builder ', () => {
152152 callbacks : { signCallback : proofOfPossessionCallbackFunction } ,
153153 version : OpenId4VCIVersion . VER_1_0_08 ,
154154 } )
155- . withIssuer ( IDENTIPROOF_ISSUER_URL )
156- . withClientId ( 'sphereon:wallet' )
157- . withKid ( kid_withoutDid )
158- . build ( ) ,
155+ . withIssuer ( IDENTIPROOF_ISSUER_URL )
156+ . withClientId ( 'sphereon:wallet' )
157+ . withKid ( kid_withoutDid )
158+ . build ( ) ,
159159 ) . rejects . toThrow ( Error ( JWS_NOT_VALID ) ) ;
160160 } ) ;
161161
@@ -186,10 +186,10 @@ describe('ProofOfPossession Builder ', () => {
186186 callbacks : { signCallback : proofOfPossessionCallbackFunction } ,
187187 version : OpenId4VCIVersion . VER_1_0_08 ,
188188 } )
189- . withIssuer ( IDENTIPROOF_ISSUER_URL )
190- . withClientId ( 'sphereon:wallet' )
191- . withKid ( kid_withoutDid )
192- . build ( ) ,
189+ . withIssuer ( IDENTIPROOF_ISSUER_URL )
190+ . withClientId ( 'sphereon:wallet' )
191+ . withKid ( kid_withoutDid )
192+ . build ( ) ,
193193 ) . rejects . toThrow ( Error ( JWS_NOT_VALID ) ) ;
194194 } ) ;
195195} ) ;
0 commit comments