We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fc483 commit 74a8ba2Copy full SHA for 74a8ba2
1 file changed
spec/Adapters/Auth/line.spec.js
@@ -77,6 +77,7 @@ describe('LineAdapter', function () {
77
78
it('should throw an error if public key used to encode token is not available', async function () {
79
spyOn(authUtils, 'getHeaderFromToken').and.returnValue({ kid: '789', alg: 'ES256' });
80
+ spyOn(authUtils, 'getSigningKey').and.returnValue(Promise.reject(new Error('missing key')));
81
82
await expectAsync(adapter.verifyIdToken({ id_token: 'the_token' })).toBeRejectedWithError(
83
'Unable to find matching key for Key ID: 789'
0 commit comments