Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```
# Author

Created by [@francislagares](https://www.linkedin.com/in/francislagares/) - feel free to contact me!
*