Skip to content
Demo of the React Test Renderer and ReactTestUtils
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.neutrinorc.js
README.md
package-lock.json
package.json

README.md

react-test-renderer demo

A guide and demo of react-test-renderer features. Also covers ReactTestUtils.

Read the companion guide post for this article here: https://billgranfield.com/2018/03/28/react-test-renderer.html

The react-test-renderer guide is located in test/checkbox_test.js

How to run

Clone the repo, install dependencies, and then use the scripts in the package.json.

git clone https://github.com/b-gran/react-test-renderer-demo.git
cd react-test-renderer-demo

npm i

Running the react-test-renderer demo tests

npm test

Viewing the component examples

npm start
You can’t perform that action at this time.