diff --git a/frontend/src/__tests__/components/Modal/LoginModal/LoginModal.test.tsx b/frontend/src/__tests__/components/Modal/LoginModal/LoginModal.test.tsx index e99939a..a01a912 100644 --- a/frontend/src/__tests__/components/Modal/LoginModal/LoginModal.test.tsx +++ b/frontend/src/__tests__/components/Modal/LoginModal/LoginModal.test.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { render, screen, fireEvent } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import '@testing-library/jest-dom'; -import LoginModal from '../../../../components/Modal/LoginModal'; +import LoginModal from 'components/Modal/LoginModal'; describe('LoginModal', () => { it('renders nothing when not visible', () => { diff --git a/frontend/src/pages/Home/index.tsx b/frontend/src/pages/Home/index.tsx index 607acbb..e492d84 100644 --- a/frontend/src/pages/Home/index.tsx +++ b/frontend/src/pages/Home/index.tsx @@ -37,10 +37,7 @@ const Home: React.FC = () => { name="Milkshake" price="16.90" // discount={0} - description={ - 'Disponível nos sabores morango, chocolate, oreo e creme de\ - avelã.' - } + description="Disponível nos sabores morango, chocolate, oreo e creme de avelã." /> diff --git a/frontend/src/routes/index.tsx b/frontend/src/routes/index.tsx index 6f4dde5..3159eee 100644 --- a/frontend/src/routes/index.tsx +++ b/frontend/src/routes/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { BrowserRouter, Switch, Route } from 'react-router-dom'; -import Home from '../pages/Home'; +import Home from 'pages/Home'; const Routes: React.FC = () => { return (