I have a problem with mocha and chai. My tests doesn't show errors on failed tests (eg. expected 'a' to be 'b'). test log
1) Shouldn't publish new post - there is a post with this title
npm ERR! Test failed. See above for more details.
I can't really extract some part of code - I think the problem doesn't directly lay in mocha or chai. My repo: github repository.
All you need to do is to clone repo, install dependencies and run mongodb. Feel free to create falsy test and see output.
Best Regards
Aucun commentaire:
Enregistrer un commentaire