Skip to content

Conversation

@cloudinary-pkoniu
Copy link
Contributor

@cloudinary-pkoniu cloudinary-pkoniu commented Dec 22, 2025

Brief Summary of Changes

Originally authored in: #720
Added full Q backwards compatibility layer.

What Does This PR Address?

Are Tests Included?

  • Yes
  • No

Reviewer, Please Note:

Hiding whitespaces is recommended before reviewing, auto-format changed lots of lines.

AviVahl and others added 2 commits December 22, 2025 12:52
migrated away from q, and used native promises.

unhandled rejections in unit tests now cause the test runner to fail. ensured all rejections are ignored with no-op fn.

found and fixed several broken tests that did not report failures correctly.

fixed wait() not used correctly outside .then, as it's returning a higher order fn rather than the promise (to chain values in .then callbacks)

implemented a tiny test polyfill for Promise.allSettled to support older Node versions.

worked around a timezone issue and a test failing  when running it in ~1am locally, heh.

added ability to use .only/skip on the test proxy of mocha's describe fn
@cloudinary-pkoniu cloudinary-pkoniu merged commit a839c84 into master Dec 23, 2025
9 checks passed
@cloudinary-pkoniu cloudinary-pkoniu deleted the fix/use-native-promises branch December 23, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants