webpack-bootstrap-ui-kit/src/mocks/server.js
2022-05-03 20:50:57 +02:00

6 lines
224 B
JavaScript

// 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)