Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Jan 8, 2025
1 parent aded158 commit b5581df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions web/packages/teleport/src/Teleport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,13 @@ import { LoginClose } from './Login/LoginClose';
import { LoginFailedComponent as LoginFailed } from './Login/LoginFailed';
import { LoginSuccess } from './Login/LoginSuccess';
import { LoginTerminalRedirect } from './Login/LoginTerminalRedirect';
import { SingleLogoutFailed } from './SingleLogoutFailed';
import { Welcome } from './Welcome';

import { Player } from './Player';

import { MfaContextProvider } from './MFAContext/MFAContext';

import { Main } from './Main';
import { MfaContextProvider } from './MFAContext/MFAContext';
import { Player } from './Player';
import { SingleLogoutFailed } from './SingleLogoutFailed';
import TeleportContext from './teleportContext';
import TeleportContextProvider from './TeleportContextProvider';
import { Welcome } from './Welcome';

const Teleport: React.FC<Props> = props => {
const { ctx, history } = props;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import cfg from 'teleport/config';
import api from 'teleport/services/api';

import auth from '../auth/auth';

import JoinTokenService from './joinToken';
import type { JoinTokenRequest } from './types';

test('fetchJoinToken with an empty request properly sets defaults', async () => {
const svc = new JoinTokenService();
jest.spyOn(api, 'post').mockResolvedValue(null);
Expand Down

0 comments on commit b5581df

Please sign in to comment.