lundi 9 mars 2015

Mocha 'before each hook' message in red. How do I know what specifically is wrong?

I have the following message, just before a failing test:



1) "before each" hook


That is the the entire message. It is in red, which makes me think there is something wrong with the before each hook, but I'm unsure of what the error is. It could be:



  • A failed timeout

  • A failed assertion

  • An Error being thrown


How do I know what the error is?


This particular beforeEach() normally executes perfectly fine.


Aucun commentaire:

Enregistrer un commentaire