webpack-bootstrap-ui-kit/src/mocks/server.js

6 lines
224 B
JavaScript
Raw Normal View History

2021-02-12 19:00:26 +01:00
// src/mocks/server.js
2022-05-03 20:50:57 +02:00
import { setupServer } from 'msw/node'
import { handlers } from './handlers'
2021-02-12 19:00:26 +01:00
// This configures a request mocking server with the given request handlers.
2022-05-03 20:50:57 +02:00
export const server = setupServer(...handlers)