Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b-gran/react-test-renderer-demo
Demo of the React Test Renderer and ReactTestUtils
https://github.com/b-gran/react-test-renderer-demo
demo guide react-test-renderer reacttestutils
Last synced: 13 days ago
JSON representation
Demo of the React Test Renderer and ReactTestUtils
- Host: GitHub
- URL: https://github.com/b-gran/react-test-renderer-demo
- Owner: b-gran
- Created: 2018-03-31T21:42:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T21:57:27.000Z (almost 7 years ago)
- Last Synced: 2024-11-07T14:42:57.171Z (2 months ago)
- Topics: demo, guide, react-test-renderer, reacttestutils
- Language: JavaScript
- Homepage: https://billgranfield.com/2018/03/28/react-test-renderer.html
- Size: 113 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `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](https://billgranfield.com/2018/03/28/react-test-renderer.html)
The `react-test-renderer` guide is located in [test/checkbox_test.js](https://github.com/b-gran/react-test-renderer-demo/blob/master/test/checkbox_test.js)
## How to run
Clone the repo, install dependencies, and then use the scripts in the `package.json`.
```bash
git clone https://github.com/b-gran/react-test-renderer-demo.git
cd react-test-renderer-demonpm i
```### Running the `react-test-renderer` demo tests
```
npm test
```### Viewing the component examples
```
npm start
```