mocha + chai + sinon instead of jest
oprogramador opened this issue · 4 comments
oprogramador commented
What do you think about using mocha + chai + sinon instead of jest?
Using jest, I cannot write process.exit
for debugging because it seems that jest performs a static code analysis before running tests.
Chai has plenty of plugins which make it much more powerful than jest.
oprogramador commented
Another issue with jest is it redirects stdout to stderr.
oprogramador commented
Yet another issue is that describe.only
not always works with jest.
oprogramador commented
Another issue is that jest doesn't stop tests even for a syntax error so I have to wait long until I get a response that I have a syntax error.
marekbrainhub commented
I don't think we can spare the time and effort to rewrite the tests to mocha. We'll be sticking with Jest for the time being.