Skip to content

Commit

Permalink
chore(auth): fix new lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Oct 5, 2024
1 parent b293cff commit 6a58ad7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ describe('service clients', () => {
test.each(serviceClientFactories)(
'factory `%s` should invoke composeServiceApi with expected parameters',
serviceClientFactory => {
// eslint-disable-next-line import/namespace
serviceClients[serviceClientFactory](mockServiceClientAPIConfig);

expect(mockComposeServiceApi).toHaveBeenCalledWith(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function getRedirectUrl(
// origin + pathname => https://example.com/app
const isSameOriginAndPathName = (redirect: string) =>
redirect.startsWith(
// eslint-disable-next-line no-constant-binary-expression
String(window.location.origin + window.location.pathname ?? '/'),
);
// domain => outlook.live.com, github.com
Expand Down

0 comments on commit 6a58ad7

Please sign in to comment.