Skip to content

Commit

Permalink
Remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
sallesma committed Dec 28, 2023
1 parent 362924a commit 4d2d321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/__tests__/HistoryScreen.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import HistoryScreen from '../HistoryScreen';

describe('<HistoryScreen />', () => {
it('renders correctly', async () => {
const { toJSON } = await waitFor(() => render(<HistoryScreen />));
const { toJSON } = render(<HistoryScreen />);

await waitFor(() => expect(toJSON()).toMatchSnapshot());
});
Expand Down

0 comments on commit 4d2d321

Please sign in to comment.