Skip to content

Commit ebeb251

Browse files
committed
[fix] navbar test
1 parent 1de1365 commit ebeb251

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/scripts/components/Navbar/Navbar.spec.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,8 @@ describe("Navbar test", () => {
2525

2626
afterEach(cleanup);
2727

28-
it("should render two button component", () => {
29-
renderNavbar(null);
30-
31-
expect(screen.queryAllByTestId("button")).toHaveLength(2);
32-
});
33-
3428
it("should render three button component", () => {
35-
renderNavbar(1);
29+
renderNavbar(null);
3630

3731
expect(screen.queryAllByTestId("button")).toHaveLength(3);
3832
});

0 commit comments

Comments
 (0)