Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
CalamityC committed Nov 6, 2024
1 parent 9e3ae72 commit a262cec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/AgreementLinesRoute/AgreementLinesRoute.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ describe('AgreementLinesRoute', () => {
});

test('renders the agreementLines component', () => {
const { getByTestId } = renderComponent;
expect(getByTestId('agreementLines')).toBeInTheDocument();
const { getAllByTestId } = renderComponent;
const agreementLinesElements = getAllByTestId('agreementLines');
expect(agreementLinesElements.length).toBeGreaterThan(0);
});
});
});
Expand Down

0 comments on commit a262cec

Please sign in to comment.