Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Jul 1, 2024
1 parent 0c00795 commit ff17c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AcqUnits/AcqUnitsView/AcqUnitsViewContainer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ describe('AcqUnitsViewContainer', () => {

it('should pass array of units to the child', async () => {
renderComponent({ units: ['1'] });
await waitFor(() => expect(AcqUnitsView.mock.calls[1][0].units).toEqual(UNITS));
await waitFor(() => expect(AcqUnitsView.mock.calls[0][0].units).toEqual(UNITS));
});
});

0 comments on commit ff17c46

Please sign in to comment.