Skip to content

Commit

Permalink
Simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Oct 15, 2024
1 parent 43bbee7 commit b05d9e8
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import configureMockStore from 'redux-mock-store';
import { Text } from '@metamask/snaps-sdk/jsx';
import { fireEvent } from '@testing-library/react';

import {
getMockPersonalSignConfirmState,
Expand Down Expand Up @@ -58,8 +57,6 @@ describe('SnapsSection', () => {
mockStore,
);

fireEvent.click(getByText('Insights from'));

expect(container).toMatchSnapshot();
expect(getByText('Hello world!')).toBeDefined();
});
Expand All @@ -79,8 +76,6 @@ describe('SnapsSection', () => {
mockStore,
);

fireEvent.click(getByText('Insights from'));

expect(container).toMatchSnapshot();
expect(getByText('Hello world again!')).toBeDefined();
});
Expand Down

0 comments on commit b05d9e8

Please sign in to comment.