Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 62ca185

Browse files
author
Kerry Archibald
committed
remove unnecc beforeEach
1 parent edb6db8 commit 62ca185

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/components/views/settings/devices/CurrentDeviceSection-test.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ describe('<CurrentDeviceSection />', () => {
3939
const getComponent = (props = {}): React.ReactElement =>
4040
(<CurrentDeviceSection {...defaultProps} {...props} />);
4141

42-
beforeEach(() => {
43-
jest.clearAllMocks();
44-
});
45-
4642
it('renders spinner while device is loading', () => {
4743
const { container } = render(getComponent({ device: undefined, isLoading: true }));
4844
expect(container.getElementsByClassName('mx_Spinner').length).toBeTruthy();

0 commit comments

Comments
 (0)