Skip to content

Commit ebbc45b

Browse files
committed
feat(tests): correção dos testes
1 parent 8a7477a commit ebbc45b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/tests/unit/components/landing/Navbar.test.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ describe("Navbar", () => {
109109
});
110110

111111
it("retorna quando elemento nao existe ao clicar em link", () => {
112-
const { rerender } = render(
113-
<MemoryRouter>
114-
<Navbar />
115-
</MemoryRouter>,
116-
);
112+
render(
113+
<MemoryRouter>
114+
<Navbar />
115+
</MemoryRouter>
116+
);
117117

118118
const featureSection = document.getElementById("features");
119119
if (featureSection) {

0 commit comments

Comments
 (0)