overleaf/services/web/test
Antoine Clausse 554be73a36 In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414)
* Create `getPaginatedEndpointIterator` to iterate each page

* Create `waitMs` util, it will replace `slowCallback`

* Make `handleAPIError` async

* Make `isAccountUsingPaypal` async

* Make `attemptInvoiceCollection` async

* Make `attemptInvoicesCollection` async

* Use `await` instead of `new Promise`

* Remove unused callbackified `attemptInvoiceCollection`

* Run `attemptInvoiceCollection` for each page instead of gathering all pages in the beginning

* Add test on fetching multiple pages of invoice

GitOrigin-RevId: 2674b18c6ca5732b873fb2bc71b515909006f93d
2024-05-27 10:23:18 +00:00
..
acceptance In collect_paypal_past_due_invoice.js, iterate over each page instead of gathering data from all pages at first (#18414) 2024-05-27 10:23:18 +00:00
frontend Merge pull request #18424 from overleaf/ii-delete-with-body-fe 2024-05-21 08:04:48 +00:00
smoke Merge pull request #16353 from overleaf/em-typescript-in-web-backend 2024-01-04 09:03:43 +00:00
unit Merge pull request #18320 from overleaf/dp-add-secondary-prompt-ui 2024-05-27 10:22:40 +00:00