import React, { FC } from 'react'; import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'; import { AuthUser } from './components/AuthUser/AuthUser'; export const App: FC = () => ( <Router> <Switch> <Route path="/"> <div data-testid="App"> <AuthUser /> </div> </Route> </Switch> </Router> );