m0t0r / msw-statusText-issue-repro

A repro of https://github.com/mswjs/msw/issues/279

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This is repro of the issue with statusText in MSW.

There are two routes:

GET /hello

GET /error

You will see the value of statusText in a response. HttpService used in this project is based on Axios.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

Server will be running on http://localhost:3000

About

A repro of https://github.com/mswjs/msw/issues/279


Languages

Language:TypeScript 86.4%Language:JavaScript 13.6%