Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
pragatimodi committed Mar 21, 2024
commit dc3c8251da88e3164c383ff837dfb6b945f1a636
7 changes: 5 additions & 2 deletions test/unit/auth/token-verifier.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ describe('FirebaseTokenVerifier', () => {
});

return tokenVerifier.verifyJWT(mockIdToken)
.should.eventually.be.rejectedWith('Firebase ID token has a "sub" (subject) claim longer than 128 characters');
.should.eventually.be.rejectedWith('Firebase ID token has a "sub" (subject) claim longer than 128 ' +
'characters');
});
});

Expand Down Expand Up @@ -811,7 +812,9 @@ describe('FirebaseTokenVerifier', () => {
event_type: eventType,
});
return authBlockingTokenVerifier._verifyAuthBlockingToken(mockAuthBlockingToken, false, undefined)
.should.eventually.be.rejectedWith('Firebase Auth Blocking token has an empty "sub" (subject) claim. See https://cloud.google.com/identity-platform/docs/blocking-functions for details on how to retrieve an Auth Blocking token.');
.should.eventually.be.rejectedWith('Firebase Auth Blocking token has an empty "sub" (subject) claim.' +
' See https://cloud.google.com/identity-platform/docs/blocking-functions for details on how to retrieve an' +
' Auth Blocking token.');
});
});
});
Expand Down