Skip to content

Commit 49a6fa1

Browse files
Ishan VeerIshan Veer
authored andcommitted
updated tests
1 parent 31fe563 commit 49a6fa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/users/App.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('App Component', () => {
9090
'[data-testid^="user-card-"]',
9191
(cards) => cards.map((card) => card.getAttribute('data-testid')),
9292
);
93-
expect(userCardTestIds.length).toBe(10);
93+
expect(userCardTestIds.length).toBe(2);
9494
});
9595
it('should fetch and append new users on subsequent pages for verified users tab when feature flag is on', async () => {
9696
await page.goto(`${BASE_URL}/users/discord/?tab=verified&dev=true`);
@@ -110,7 +110,7 @@ describe('App Component', () => {
110110
'[data-testid^="user-card-"]',
111111
(cards) => cards.map((card) => card.getAttribute('data-testid')),
112112
);
113-
expect(userCardTestIds.length).toBe(10);
113+
expect(userCardTestIds.length).toBe(3);
114114
});
115115

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

0 commit comments

Comments
 (0)