What's your test environment for ES2015 node applications?
Hi there!
I just wanna know, what tools do you use to unit test your node applications (ES6).
Have you got any suggestions, additions or annotations? :)
Currently I'm using mocha in combination with chai/expect, sinon and isparta:
To run tests, I use:
mocha ./test/** -c --compilers js:babel-core/register
and to get the test coverage, I use:
babel-node ./node_modules/.bin/isparta cover _mocha -- ./test/**
So what's your opinion? I look forward to your replies :)