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
Currently the SuiteLifecycleFunction interface expects its callback to return void | PromiseLike<void>. However, this can cause problems; for example, it may sometimes be convenient to return a PromiseLike<Element> in a functional test (where finding an element acts as an assertion of its existence).
Instead, SuiteLifecycleFunction should require void | PromiseLike<any>.
The text was updated successfully, but these errors were encountered:
SuiteLifecycleFunction and TestLifecycleFunction callbacks should be
typed as `void | PromiseLike<any>` rather than `void |
PromiseLike<void>` since Suite doesn't really care about the *type* of a
PromiseLike value, just when it resolves.
resolves#845
Currently the
SuiteLifecycleFunction
interface expects its callback to returnvoid | PromiseLike<void>
. However, this can cause problems; for example, it may sometimes be convenient to return aPromiseLike<Element>
in a functional test (where finding an element acts as an assertion of its existence).Instead,
SuiteLifecycleFunction
should requirevoid | PromiseLike<any>
.The text was updated successfully, but these errors were encountered: