https://github.com/alexanderlapygin/cra_rtl_msw
CRA starter with testing by RTL and MSW
https://github.com/alexanderlapygin/cra_rtl_msw
cra javascript mock msw react react-testing-library rtl softspiders ss starter template test
Last synced: about 2 months ago
JSON representation
CRA starter with testing by RTL and MSW
- Host: GitHub
- URL: https://github.com/alexanderlapygin/cra_rtl_msw
- Owner: AlexanderLapygin
- License: mit
- Created: 2022-01-20T17:09:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T07:24:37.000Z (over 3 years ago)
- Last Synced: 2025-01-21T02:09:00.442Z (3 months ago)
- Topics: cra, javascript, mock, msw, react, react-testing-library, rtl, softspiders, ss, starter, template, test
- Language: JavaScript
- Homepage:
- Size: 171 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRA starter with testing by React Testing Library and MSW
## Feature tags
- create-react-app
- javascript
- mock-server-worker
- react
- react-testing-library
- rest
- starter
- template
- testing---
## Direct ancestors
[***- rtl***: cra_msw](https://github.com/AlexanderLapygin/cra_msw)
## Direct descendants
- [***+ cypress, e2e***: cra_rtl_cypress_msw](https://github.com/AlexanderLapygin/cra_rtl_cypress_msw)
- [***+ crud, faker, msw-data***: cra_msw-data_rtl_faker](https://github.com/AlexanderLapygin/cra_msw-data_rtl_faker)---
## Requirements
* [Node.js](https://nodejs.org/en/download/package-manager/)
## Installation
Being in the repository root directory, run:
```sh
yarn
```## Running
Being in the repository root directory, run:
```sh
yarn start
```## Running test (in watch mode)
Being in the repository root directory, run:
```sh
yarn test
```## Authors
[Alexander Lapygin](https://github.com/AlexanderLapygin)
## Inspired by
[rest-react - example from MSW](https://github.com/mswjs/examples/tree/master/examples/rest-react)
### License
Licensed under the [MIT license](./LICENSE).
---
[SOFTSPIDERS](https://github.com/softspiders/softspiders)