Add null check to nonce in module.test.ts
Signed-off-by: JP Dhabolt <john.p.dhabolt@gmail.com>
This commit is contained in:
@@ -196,6 +196,7 @@ describe('authModuleOidcProvider', () => {
|
||||
expect(startUrl.origin).toBe('https://oidc.test');
|
||||
expect(startUrl.pathname).toBe('/oauth2/authorize');
|
||||
const expected = Object.fromEntries(startUrl.searchParams);
|
||||
expect(expected.nonce).not.toBeNull();
|
||||
expect(expected).toEqual({
|
||||
response_type: 'code',
|
||||
scope: 'openid profile email',
|
||||
|
||||
Reference in New Issue
Block a user