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 also have this issue. Sometimes I'm forced to put assertions into beforeEach() due to the way angular-mocks builds injectors. It would be helpful to see which test caused the problem.
I would like a failure in an
beforeEach
orafterEach
to output which test it ran afterwards. For example:If
ensureClean
throws an error, I don't know which test corrupted the object, since the error message gives me something generic:It would be great if the message said something like this:
I frequently put global checks into the afterEach, maybe that's not the right way to go about this?
The text was updated successfully, but these errors were encountered: