Skip to content

Commit

Permalink
Revert to remove expectation of loading text since that is not what w…
Browse files Browse the repository at this point in the history
…e are testing

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Jul 26, 2023
1 parent 6044a0f commit a3e5a9d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ describe('PermissionsCard', () => {
);
await waitFor(() => getByText('Remove'));
fireEvent.click(getByText('Remove'));
await waitFor(() => getByText('loading'));
expect(removePermission).toHaveBeenCalled();
expect(removePermission.mock.calls[0][0].action).toBe(RmfAction.TaskRead);
expect(removePermission.mock.calls[0][0].authz_grp).toBe('test_group');
Expand Down

0 comments on commit a3e5a9d

Please sign in to comment.