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
Sometimes we want a function to be called before the process exits, but we don't care if other calls happen until then. The use case I have in mind is catching Promises that never settles. What I would like to write is:
Felix is not actively maintaining this but if Transloadians all agree I think we can get it merged, I don’t think there is a lot of adoption outside of TL.
You could also consider rewriting the test in Jest, which is were we’re are gradually trying to head
Sometimes we want a function to be called before the process exits, but we don't care if other calls happen until then. The use case I have in mind is catching
Promise
s that never settles. What I would like to write is:If I try that, I'll get
Error: Unexpected call to [SomeClass].someMethod(), expected call to callAfterThen()
.Could we get an option to disable order checking? Or another method
gently.expectEventually
maybe?The text was updated successfully, but these errors were encountered: