React-starter-kit: Why Mocha over Jest

Created on 16 May 2016  Â·  10Comments  Â·  Source: kriasoft/react-starter-kit

I was curious as to why you made the move from jest to mocha?

discussion question

Most helpful comment

Hey everyone!

We recently had two major Jest releases which significantly improve the framework and added snapshot testing. Please check out Jest 14.0: React Tree Snapshot Testing and Jest 15.0: New Defaults for Jest blogposts.

I'm happy to help anyone who wants to try out Jest. We have a support channel on discord :)

All 10 comments

I am also curious

I have no opinion, I'm also curious why :-)
Seriously: This is starter kit, it is everybody choice to get best fits starter.
This is really starter kit, many of choices here can be switched.. If you want to cooperate you can. Make PR or make fork and write about it. Don't forget to mention this awesome source..

My curiosity stems from the fact that there was at one point a switch from jest to mocha. Did anything catalyze that switch? I am not advocating jest over mocha, I don't have the scope for such a decision. Rather, I was hoping to get some feedback from anyone that has experience with both testing frameworks.

I understood. But I'm not interested in much. Follow creators of React and you give answers.

Hey everyone!

We recently had two major Jest releases which significantly improve the framework and added snapshot testing. Please check out Jest 14.0: React Tree Snapshot Testing and Jest 15.0: New Defaults for Jest blogposts.

I'm happy to help anyone who wants to try out Jest. We have a support channel on discord :)

Loving the new Jest — snapshot testing is a game changer.

Hi. I'm seriously thinking about move to jest. Have anybody good resources or will be someone able to participate on new PR?
Please, continue on #1347

@cpojer By reading this doc, it's confusing to know relation between Mocha and Jest in React Starter Kit. It's good time to maintain it, isn't it.
https://github.com/kriasoft/react-starter-kit/blob/master/docs/testing-your-application.md#testing-your-application

jest is already in

Documentation indeed needs improvements

Was this page helpful?
0 / 5 - 0 ratings