Skip to content

Commit

Permalink
improved quality of multi prompt test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbnewman committed Jan 4, 2022
1 parent 2d3fa99 commit aeed5c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ describe('Modal Prompt', () => {
fireEvent.click(getByTestId('resolve-button2'));
await waitFor(() => {
expect(button).not.toHaveAttribute('disabled');
expect(queryByText('Prompt 0')).not.toBeVisible();
expect(queryByText('Prompt 1')).not.toBeVisible();
expect(queryByText('Prompt 2')).not.toBeVisible();
});
});
});

0 comments on commit aeed5c4

Please sign in to comment.