Skip to content

Commit

Permalink
remove redundant asyncs
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Apr 29, 2024
1 parent 0b0f28f commit afafa3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Instance/MoveHoldingContext/MoveHoldingContext.test.js
Expand Up @@ -119,7 +119,7 @@ describe('MoveHoldingContext', () => {
expect(selectHoldingCheckbox).not.toBeChecked();
});

it('should render confirmation modal with initial state in background', async () => {
it('should render confirmation modal with initial state in background', () => {
const { getByText } = renderMoveHoldingContext();

expect(getByText(/ConfirmationModal/)).toBeInTheDocument();
Expand Down Expand Up @@ -198,7 +198,7 @@ describe('MoveHoldingContext', () => {
expect(getByText('1 holding will be moved to')).toBeInTheDocument();
};

it('should move selected holdings if "Confirm button" is clicked', async () => {
it('should move selected holdings if "Confirm button" is clicked', () => {
const { getByText, getByTestId } = renderMoveHoldingContext();

clickMoveFlow({ getByText, getByTestId });
Expand All @@ -210,7 +210,7 @@ describe('MoveHoldingContext', () => {
expect(screen.queryByText('Loading')).toBeInTheDocument();
});

it('should close modal and stop moving when "Cancel" is clicked', async () => {
it('should close modal and stop moving when "Cancel" is clicked', () => {
const { getByText, getByTestId } = renderMoveHoldingContext();

clickMoveFlow({ getByText, getByTestId });
Expand Down

0 comments on commit afafa3c

Please sign in to comment.