https://github.com/esau-morais/testing-irl
🧪 React Testing In Real Life, by Esaú Morais
https://github.com/esau-morais/testing-irl
hashnode react-testing-library reactjs
Last synced: 5 months ago
JSON representation
🧪 React Testing In Real Life, by Esaú Morais
- Host: GitHub
- URL: https://github.com/esau-morais/testing-irl
- Owner: esau-morais
- License: mit
- Created: 2021-01-09T21:00:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-09T21:41:29.000Z (about 5 years ago)
- Last Synced: 2025-03-27T04:17:40.160Z (11 months ago)
- Topics: hashnode, react-testing-library, reactjs
- Language: JavaScript
- Homepage: https://emmorais.hashnode.dev/testing-irl
- Size: 851 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🧪 React Testing IRL

## 🧪 Setting up our React App
```bash
npx create-react-app testing-irl
```
*Feel free to give a different name to the app*
## 📐 The project structure
* `.spec.js` -> Testing files using the RTL (React Testing Library)
### ⚛️ Setting Up React App
1. Fork this project

2. Clone the forked repository
`git clone https://github.com/user/testing-irl` (if you use `git`)
or
`gh repo clone user/testing-irl` (if you use `gh` cli)
3. Install the dependencies
`npm install` (if you use `npm`)
or
`yarn` (if you use `yarn`)
4. Start the project
`npm run start` (if you use `npm`)
or
`yarn start` (if you use `yarn`)
5. Also, to check the tests, run
`npm run test` (if you use `npm`)
or
`yarn test` (if you use `yarn`)
---
## 📑 License
Distributed under the [MIT License](./LICENSE)