Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshamoon committed Feb 19, 2021
1 parent 0cbb0cb commit 8368262
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/simulator/Simulator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const simulator = (
test('simulator should open on click of simulator icon', async () => {
const { getByTestId } = render(simulator);
fireEvent.click(getByTestId('simulatorIcon'));
const responseData = { data: {} };
axios.post.mockImplementationOnce(() => Promise.resolve(responseData));
await waitFor(() => {
expect(mockSetShowSimulator).toBeCalled();
});
Expand Down

0 comments on commit 8368262

Please sign in to comment.