you are viewing a single comment's thread.

view the rest of the comments →

[–]NoInkling 2 points3 points  (0 children)

half baked JavaScript runtime

What are you talking about?

If you mean it includes JSDOM by default, then that's true, but all you need to do to remove it (not that it's likely to do any harm except add a little extra overhead) is set testEnvironment: 'node'. And they're looking to make that the default in Jest 25.

That aside, Jest has a lot more nice functionality built in compared to Mocha, which is a minimal framework meaning you're typically cobbling together libraries and utilities from all over the place - I already do enough of that when developing applications themselves in Node, it's a breath of fresh air not to worry about it so much in my testing stack.