Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Nov 8, 2023
1 parent 9109c10 commit 21554e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/browser/src/ClientAuthentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 21554e0

Please sign in to comment.