ably / ably-js

Javascript, Node, Typescript, React, React Native client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
310 stars 55 forks source link

Update realtime tests to use `async` / `await` #1348

Open lawrence-forooghian opened 1 year ago

lawrence-forooghian commented 1 year ago

See commit message of d7ba3d5d3e8b04b79cf904b01a7f6127cf7dfb10:

It would be good to, at some point, update the structure of the tests to use async / await, to improve readability and to make them reflect how the users actually interact with the Promise-based API in the real world. I’ve split out into the separate task #1348.

That is, remove the usage of whenPromiseSettles.

┆Issue is synchronized with this Jira Task by Unito

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3686