Skip to content

Commit

Permalink
fix: remove useless sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
erikian committed Sep 23, 2023
1 parent 43cc79f commit 047f196
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rtl-spec/components/tour-welcome.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ describe('Header component', () => {
await userEvent.click(getByText(/show me around/i));
await userEvent.click(getByText(/stop tour/i));

await new Promise((resolve) => setTimeout(resolve, 500));

expect(appState.isTourShowing).toBe(false);

expect(queryByTestId('tour')).not.toBeInTheDocument();
Expand Down

0 comments on commit 047f196

Please sign in to comment.