Skip to content
#

devtools

Here are 835 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) => {
    
k3sup

Improve this page

Add a description, image, and links to the devtools 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 devtools topic, visit your repo's landing page and select "manage topics."

Learn more