Skip to content

Commit

Permalink
(#5) Mudando rotas para manter padrão
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Sousa <diassousa@yahoo.com.br>
  • Loading branch information
sergiosacj and emysdias committed Sep 17, 2021
1 parent 48a40ec commit ff79636
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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ã."
/>
<Loading />
</Container>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit ff79636

Please sign in to comment.