Created
September 26, 2022 13:19
-
-
Save marta-pinkowska/cdd96667b9f2071c4f18a6545c9537fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/mocks/server.js | |
import { setupServer } from 'msw/node' | |
import { handlers } from './handlers' | |
// This configures a request mocking server with the given request handlers. | |
export const server = setupServer(...handlers) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment