overleaf/services/web/test/acceptance
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
..
config Merge pull request #18116 from overleaf/jpa-bulk-replace-localhost 2024-04-26 08:04:39 +00:00
files Uploading an empty zipfile throws specific error (#1909) 2019-07-02 10:58:58 +00:00
src 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
bootstrap.js Merge pull request #17282 from overleaf/bg-object-id-unit-tests-ii 2024-02-27 09:03:04 +00:00
getModuleTargets.js Merge pull request #15716 from overleaf/bg-eslint-console-log-in-web-tests 2023-11-13 09:04:13 +00:00
tsconfig.json Merge pull request #16353 from overleaf/em-typescript-in-web-backend 2024-01-04 09:03:43 +00:00