React components essentially comprises 3 things: state ,props and markup (or other components). Props are immutable. However, the state is mutable. Changing the state causes the component to re-render.…
done in Jasmine but in… with your own assertion library. This can also be done in Jasmine but in Mocka this change will be more obvious.