This simple project was originally found here...
http://tutorialzine.com/2015/04/first-webapp-react/
Install:
make sure you are in the simpleReactApp
directory and then...
npm install
then Build...
npm run build
Then open index.html in your browser.
Note: ignore antialiasing is used here.
See backstop.json: "resembleOutputOptions": {"ignoreAntialiasing": true}
A BackstopJS test configuration file has already been added to this project.
To test, simply run the build command above, and Backstop will open the html report in ./backstop_data/html_report
.
You can also run npm run dev-backstop-test
, if you have run npm install
at the root directory of the BackstopJS directory.