I use Nightmare with Mocha and Chai for testing my website. Initially Nightmare was based on phantomjs but with the new release of the version2 it is used electron. Even if I have forced 500 error the test it's still passed. I'm now running my test using "mocha" command in my terminal. Is there another command for running test? Or maybe someone had the same issue as me and knows how to fix this.
Aucun commentaire:
Enregistrer un commentaire