Skip to content

Commit

Permalink
pushed test for 2 mock users
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan Veer authored and Ishan Veer committed Nov 7, 2024
1 parent bad7294 commit 8ebf8e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/users/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ describe('App Component', () => {
'[data-testid^="user-card-"]',
(cards) => cards.map((card) => card.getAttribute('data-testid')),
);
console.log(userCardTestIds.length);
expect(userCardTestIds.length).toBe(10);
console.log(userCardTestIds.length, 'user length');
expect(userCardTestIds.length).toBe(2);
});

it('should render all sections', async () => {
Expand Down

0 comments on commit 8ebf8e0

Please sign in to comment.