Skip to content

Commit

Permalink
Update my-advances.page.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha authored Apr 15, 2024
1 parent 03e1d15 commit 24df018
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/fyle/my-advances/my-advances.page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ describe('MyAdvancesPage', () => {

it('should set myAdvancerequests$ to publicAdvanceRequestRes2.data in form of array in case if count is greater than 200', () => {
advanceRequestService.getSpenderAdvanceRequests.and.returnValues(
of(publicAdvanceRequestResSentBack),
of(publicAdvanceRequestResSentBack)
of(publicAdvanceRequestRes2),
of(publicAdvanceRequestRes2)
);
advanceRequestService.getSpenderAdvanceRequestsCount.and.returnValue(of(201));
component.ionViewWillEnter();
Expand All @@ -273,7 +273,7 @@ describe('MyAdvancesPage', () => {
order: 'created_at.desc,id.desc',
},
});
expect(res).toEqual([...publicAdvanceRequestResSentBack.data, ...publicAdvanceRequestResSentBack.data]);
expect(res).toEqual([...publicAdvanceRequestRes2.data, ...publicAdvanceRequestRes2.data]);
});
});

Expand Down

0 comments on commit 24df018

Please sign in to comment.