An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# 🧪 React Testing IRL

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

![Forking the project](https://camo.githubusercontent.com/6f03010c651d060f8b7cfc17da7098c1757c4ead/68747470733a2f2f6669727374636f6e747269627574696f6e732e6769746875622e696f2f6173736574732f526561646d652f666f726b2e706e67)

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)