brainhubeu/license-auditor

mocha + chai + sinon instead of jest

oprogramador opened this issue · 4 comments

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.

Another issue with jest is it redirects stdout to stderr.

Yet another issue is that describe.only not always works with jest.

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.

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.