From 21554e04f7741befcec9cf879cf0dadff505242b Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Wed, 8 Nov 2023 22:58:22 +0100 Subject: [PATCH] lint --- packages/browser/src/ClientAuthentication.ts | 4 ++-- .../incomingRedirectHandler/AuthCodeRedirectHandler.spec.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/browser/src/ClientAuthentication.ts b/packages/browser/src/ClientAuthentication.ts index 4b839f694e..1553b49875 100644 --- a/packages/browser/src/ClientAuthentication.ts +++ b/packages/browser/src/ClientAuthentication.ts @@ -24,16 +24,16 @@ * @packageDocumentation */ -import { +import type { ISessionInfo, ISessionInternalInfo, ILoginOptions, - removeOpenIdParams, } from "@inrupt/solid-client-authn-core"; import { EVENTS, isValidRedirectUrl, ClientAuthentication as ClientAuthenticationBase, + removeOpenIdParams, } from "@inrupt/solid-client-authn-core"; import { normalizeCallbackUrl } from "@inrupt/oidc-client-ext"; import type { EventEmitter } from "events"; diff --git a/packages/node/src/login/oidc/incomingRedirectHandler/AuthCodeRedirectHandler.spec.ts b/packages/node/src/login/oidc/incomingRedirectHandler/AuthCodeRedirectHandler.spec.ts index adfe47b9ef..b1d07dab4c 100644 --- a/packages/node/src/login/oidc/incomingRedirectHandler/AuthCodeRedirectHandler.spec.ts +++ b/packages/node/src/login/oidc/incomingRedirectHandler/AuthCodeRedirectHandler.spec.ts @@ -472,7 +472,9 @@ describe("AuthCodeRedirectHandler", () => { const mockedStorage = mockDefaultRedirectStorage(); const mockedTokens = mockDpopTokens(); // oidc-client will throw if the iss parameter mismatches. - setupOidcClientMock(mockedTokens, () => { throw new Error() }); + setupOidcClientMock(mockedTokens, () => { + throw new Error(); + }); const authCodeRedirectHandler = getAuthCodeRedirectHandler({ storageUtility: mockedStorage, sessionInfoManager: mockSessionInfoManager(mockedStorage),