Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/francislagares/tdd-react-testing
A Series of Test Driven Development (TDD) with React Testing Library & Mock Service Worker
https://github.com/francislagares/tdd-react-testing
jest mock-service-worker react-testing-library tdd typescript
Last synced: 12 days ago
JSON representation
A Series of Test Driven Development (TDD) with React Testing Library & Mock Service Worker
- Host: GitHub
- URL: https://github.com/francislagares/tdd-react-testing
- Owner: francislagares
- Created: 2022-01-27T19:04:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T20:27:36.000Z (almost 3 years ago)
- Last Synced: 2024-12-02T00:34:57.358Z (2 months ago)
- Topics: jest, mock-service-worker, react-testing-library, tdd, typescript
- Language: TypeScript
- Homepage:
- Size: 1.73 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TDD-React-Testing
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/francislagares/tdd-react-testing/Tests?style=for-the-badge&labelColor=black&logo=github)
## Built with
## Tested with
# Available Scripts
- Clone the repo
```bash
$ git clone https://github.com/francislagares/tdd-react-testing.git
```- Install the dependencies by running the following command.
```bash
yarn install
```- Start the development server:
```bash
yarn start
```- Start the test suites:
```bash
yarn test
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the
result.# Docker
- Building an image
```bash
$ docker-compose build
```- Running a container
```bash
$ docker-compose up
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the
result.- Stopping a container
```bash
$ docker-compose down
```
# AuthorCreated by [@francislagares](https://www.linkedin.com/in/francislagares/) - feel free to contact me!
*