Don't Mock Fetch Or Axios
-
Updated
Oct 6, 2020 - JavaScript
Don't Mock Fetch Or Axios
Test Driven Development (TDD) with React Testing Library & Mock Service Worker
🔍 💻 📋 Github repositories search form developed with TDD || Developed with JavaScript, React, Jest, Testing-Library, Mock Service Worker and Material UI || Exercise of the Test Driven Development (TDD) en React JS course
🔍 💻 📋 Form with an API Request developed with TDD || Developed with JavaScript, React, Jest, Testing-Library, Mock Service Worker and Material UI || Exercise of the Test Driven Development (TDD) en React JS course
Find the best time to post on a subreddit.
How to work with Mock Service Worker when using REST APIs
🗝️ 💻 📋 Login form developed with TDD || Developed with JavaScript, React, Jest, Testing-Library, Mock Service Worker and Material UI || Exercise of the Test Driven Development (TDD) en React JS course
Example of configuring Vite/React with Jest using ts-ject library. Additionally, MSW-based, DI ready with InversifyJS, Cypress included.
Mocking HTTP calls (fetch and axios) using MSW and react-testing-library
Example usage of openapi-generator and msw
In this demo, we'll be configuring MSW to a Create React App testing environment and reusing the same network request mock definitions for testing and development.
This repo contains code mixing two courses:
A simple Todo app, in which I apply what I learned about React.
O projeto consiste em carregar posts e photos da API {JSON} Placeholder e filtrar os posts através de um input. O projeto foi criado para praticar as funcionalidades do react e para praticar a escrita de testes.
A Series of Test Driven Development (TDD) with React Testing Library & Mock Service Worker
A boilerplate Create React App with Typescript, Redux Toolkit, Redux Saga, React Hook Form, Cypress, Storybook, React-i18next and Material UI👨💻
Use Mock Service Worker in your frontend App
Front-end starter using React CRA 5 and MUI 5
Front-end starter using React Next.js 12 and MUI 5
Add a description, image, and links to the mock-service-worker topic page so that developers can more easily learn about it.
To associate your repository with the mock-service-worker topic, visit your repo's landing page and select "manage topics."