Skip to content

Commit 7fc5525

Browse files
committed
Added dropdown test
1 parent 35d09fc commit 7fc5525

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

__tests__/NavBar.test.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jest.mock('file-saver', () => ({
3131
saveAs: jest.fn(),
3232
}));
3333

34-
const originalError = console.error;
35-
beforeAll(() => {
36-
console.error = jest.fn();
37-
});
38-
39-
afterAll(() => {
40-
console.error = originalError;
41-
});
34+
// const originalError = console.error;
35+
// beforeAll(() => {
36+
// console.error = jest.fn();
37+
// });
38+
39+
// afterAll(() => {
40+
// console.error = originalError;
41+
// });
4242

4343
// Mocking the render
4444
const renderNavBar = (store) => {

0 commit comments

Comments
 (0)