@@ -115,7 +115,7 @@ describe("pbkdf2", () => {
115115 for ( const [ index , test ] of brycxTests . entries ( ) ) {
116116 const { secret, salt, iterations, keylen, expected } = test ;
117117 const hash = await pbkdf2Sha512 ( secret , salt , iterations , keylen ) ;
118- expect ( hash ) . withContext ( `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
118+ expect ( hash , `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
119119 }
120120 } ) ;
121121 } ) ;
@@ -136,7 +136,7 @@ describe("pbkdf2", () => {
136136 for ( const [ index , test ] of brycxTests . entries ( ) ) {
137137 const { secret, salt, iterations, keylen, expected } = test ;
138138 const hash = await pbkdf2Sha512Subtle ( subtle , secret , salt , iterations , keylen ) ;
139- expect ( hash ) . withContext ( `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
139+ expect ( hash , `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
140140 }
141141 } ) ;
142142 } ) ;
@@ -152,7 +152,7 @@ describe("pbkdf2", () => {
152152 for ( const [ index , test ] of brycxTests . entries ( ) ) {
153153 const { secret, salt, iterations, keylen, expected } = test ;
154154 const hash = await pbkdf2Sha512Noble ( secret , salt , iterations , keylen ) ;
155- expect ( hash ) . withContext ( `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
155+ expect ( hash , `brycx tests index ${ index } ` ) . toEqual ( expected ) ;
156156 }
157157 } , 120_000 ) ;
158158 } ) ;
0 commit comments