@@ -48,7 +48,7 @@ describe('email verification via /verify-email?token=jwt', () => {
4848 const response = await fetch ( verificationLink , {
4949 headers : { accept : 'text/plain' } ,
5050 } )
51- expect ( response . ok ) . to . be . true
51+ expect ( response . ok ) . to . equal ( true )
5252 const jwt = await response . text ( )
5353 const payload = jsonwebtoken . decode ( jwt ) as jsonwebtoken . JwtPayload
5454
@@ -68,7 +68,7 @@ describe('email verification via /verify-email?token=jwt', () => {
6868 const response = await fetch ( verificationLink , {
6969 headers : { accept : 'application/json' } ,
7070 } )
71- expect ( response . ok ) . to . be . true
71+ expect ( response . ok ) . to . equal ( true )
7272 const { token : jwt } = await response . json ( )
7373
7474 // after, the settings should contain triple <webId> <verification token predicate (config)> "token".
@@ -85,7 +85,7 @@ describe('email verification via /verify-email?token=jwt', () => {
8585 const response = await fetch ( verificationLink , {
8686 headers : { accept : 'text/html' } ,
8787 } )
88- expect ( response . ok ) . to . be . true
88+ expect ( response . ok ) . to . equal ( true )
8989 const body = await response . text ( )
9090 expect ( response . headers . get ( 'content-type' ) ) . to . equal ( 'text/html' )
9191 expect ( body ) . to . include ( 'Your email was successfully verified' )
0 commit comments