3 ms·
RE: 2. Jest bundles Jasmine. It's primarily a test runner (like karma[1]) more than a framework. Jest includes mocking capabilities at the function level (like
by aj0strow 10y ago
RE: 2. Jest bundles Jasmine. It's primarily a test runner (like karma[1]) more than a framework. Jest includes mocking capabilities at the function level (like sinon[2]) and module level (like rewire[3]). It supports parallel execution, custom source code transpiling, file extension mocks (for webpack requires) and file watching. It favors large ES6 projects -- takes a second to start up.
[1]: https://github.com/karma-runner/karma https://github.com/karma-runner/karma
[2]: http://sinonjs.org/ http://sinonjs.org/
[3]: https://github.com/jhnns/rewire https://github.com/jhnns/rewire