How does Jest compare with Jasmine?

In this latest blog post, Facebook has shared that they are completely moving away from Jasmine, with Jest. Jest is a unit testing framework, and Jasmine with its behaviour driven testing, how does it fit in to the whole testing expression? Does the move signify Jest becoming more of a general purpose testing framework rather than preaching BDD?

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown 路 Publish articles on custom domain 路 Gain readership on day zero 路 Automatic GitHub backup and more

Comments (1)

Denny Trebbin's photo

Jest <15 used Jasmine1 in the background for test execution. Many developers complained about Jest being slow, and finger pointed to Jasmine. It suffered slow startup times, slow execution times and not pretty error reports. Facebook devs ignored Jasmine2 for a long time, and it looks to me that Facebook may give up support for Jest at all since ava.js hit the ground.

But surprisingly, Facebook pushed Jest very much in the last couple of weeks. Replacing Jasmine looks to me like stepping up and moving forward; become a competitive alternative to Jasmine2, Mocha, and Ava.