You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue, but rather a request for an advice. In the Appium project we have a large tests codebase where we use both chai and chai-as-promised modules to simplify promises validation. The latter is obviously not compatible with v5 of chai, so we would like to ask your advice there. Do you have an official tutorial/approach for chai v5 to test promises like chai-as-promised could, so the latter may be eventually dropped, and we could only rely on the "raw" chai implementation? Or maybe there is some chai technique/plugin we don't know about, which could help us to resolve the above compatibility issue? Or should we report a feature request to chai-as-promised and postpone the chai bump until it is resolved?
Activity
keithamus commentedon Dec 28, 2023
I would use async/await to unbox promises and test their underlying values or side effects.