Book Image

Jasmine JavaScript Testing Update

By : Paulo Vitor Zacharias Ragonha
Book Image

Jasmine JavaScript Testing Update

By: Paulo Vitor Zacharias Ragonha

Overview of this book

Table of Contents (15 chapters)

Project setup

However, before we can dive into React, first we need a small setup in our project to allow us to create React components.

Go to and download the React Starter Kit Version 0.12.2 or higher.

After the download, you can unpack its contents and move all the files from within the build folder to our application's lib folder. Then, just load the React library onto the SpecRunner.html file.

<script src="lib/react-with-addons.js"></script>
<script src="lib/jquery.js"></script>

With the setup complete, we can move on to writing our very first component.