Skip to content
#

msw

Here are 109 public repositories matching this topic...

msw
Smankusors
Smankusors commented Nov 7, 2021

Describe the bug

I received this error whenever there's code error on the handler code.

Environment

This unit testing running on Node environment

  • msw: 0.35.0
  • nodejs: 16.6.0
  • npm: 7.24.1

To Reproduce

Take a look at the example of the handler code below:

import { rest } from 'msw'

export const handlers = [
  rest.post('/login', (req, res, ctx) => {
    
bug help wanted good first issue

Improve this page

Add a description, image, and links to the msw topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the msw topic, visit your repo's landing page and select "manage topics."

Learn more