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
I think you are right. Unless targeting specifically a nonexistent fieldname (eg: .done('bla', () => {...})), done should always run at the end of the suite, even if it turned out to be empty, or without any tests actually running. Let me sort it out one moment.
If we have this:
We will see "done" being printed.
Now, if we add
vest.optional({foo: true})
beforevest.test
or removevest.test
altogether then the suite will run but there will be no done call.In my use case it was something like
vest.optional({name: data.name === current.name})
to avoid running tests on a name field unless it was changed.The text was updated successfully, but these errors were encountered: