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

Commit

Permalink
remove unnecc beforeEach
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry Archibald committed Aug 15, 2022
1 parent edb6db8 commit 62ca185
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ describe('<CurrentDeviceSection />', () => {
const getComponent = (props = {}): React.ReactElement =>
(<CurrentDeviceSection {...defaultProps} {...props} />);

beforeEach(() => {
jest.clearAllMocks();
});

it('renders spinner while device is loading', () => {
const { container } = render(getComponent({ device: undefined, isLoading: true }));
expect(container.getElementsByClassName('mx_Spinner').length).toBeTruthy();
Expand Down

0 comments on commit 62ca185

Please sign in to comment.