Skip to content

Commit e6126f8

Browse files
committed
Fix PaginationTest
1 parent 2cc066f commit e6126f8

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

tests/ui/PaginationTest.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,7 @@ describe('Pagination', () => {
298298
jest.clearAllMocks();
299299
});
300300

301-
// @TODO: Adjust this test to work with the home page as a default screen.
302-
// GitHub issue: https://github.com/Expensify/App/issues/80982
303-
xit('opens a chat and load initial messages', async () => {
301+
it('opens a chat and load initial messages', async () => {
304302
mockOpenReport(5, '5');
305303

306304
await signInAndGetApp();
@@ -323,9 +321,7 @@ describe('Pagination', () => {
323321
TestHelper.expectAPICommandToHaveBeenCalled('GetNewerActions', 0);
324322
});
325323

326-
// @TODO: Adjust this test to work with the home page as a default screen.
327-
// GitHub issue: https://github.com/Expensify/App/issues/80982
328-
xit('opens a chat and load older messages', async () => {
324+
it('opens a chat and load older messages', async () => {
329325
mockOpenReport(CONST.REPORT.MIN_INITIAL_REPORT_ACTION_COUNT, '18');
330326
mockGetOlderActions(5);
331327

@@ -357,9 +353,7 @@ describe('Pagination', () => {
357353
});
358354
});
359355

360-
// @TODO: Adjust this test to work with the home page as a default screen.
361-
// GitHub issue: https://github.com/Expensify/App/issues/80982
362-
xit('opens a chat and load newer messages', async () => {
356+
it('opens a chat and load newer messages', async () => {
363357
mockOpenReport(5, '5');
364358
mockGetNewerActions(5);
365359

0 commit comments

Comments
 (0)