Skip to content

Commit

Permalink
Fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaGoaga committed Dec 1, 2023
1 parent 60de3c4 commit e3f2ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/GitAuth/__tests__/GithubAuth.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import {
GetGithubDeviceCodeResponse,
GitProvider,
} from '../../../api/gitauth/gitauth.pb';
import { EnterpriseClientContext } from '../../../contexts/API';
import {
ApplicationsClientMock,
defaultContexts,
withContext,
} from '../../../utils/test-utils';
import { GithubDeviceAuthModal } from '../GithubDeviceAuthModal';
import { getProviderToken } from '../utils';
import { EnterpriseClientContext } from '../../../contexts/API';

Object.assign(navigator, {
clipboard: {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/GitAuth/__tests__/GitlabAuth.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { act, fireEvent, render, screen } from '@testing-library/react';
import { CoreClientContextProvider, Kind } from '@weaveworks/weave-gitops';
import { GitProvider } from '../../../api/gitauth/gitauth.pb';
import { EnterpriseClientContext } from '../../../contexts/API';
import CallbackStateContextProvider from '../../../contexts/GitAuth/CallbackStateContext';
import { gitlabOAuthRedirectURI } from '../../../utils/formatters';
import { Routes } from '../../../utils/nav';
Expand All @@ -12,7 +13,6 @@ import {
withContext,
} from '../../../utils/test-utils';
import { RepoInputWithAuth } from '../RepoInputWithAuth';
import { EnterpriseClientContext } from '../../../contexts/API';

Object.assign(navigator, {
clipboard: {
Expand Down

0 comments on commit e3f2ce4

Please sign in to comment.