webpack-bootstrap-ui-kit/src/mocks/browser.js
2021-08-18 20:51:15 +02:00

6 lines
215 B
JavaScript

// src/mocks/browser.js
import { setupWorker } from "msw";
import { handlers } from "./handlers";
// This configures a Service Worker with the given request handlers.
export const worker = setupWorker(...handlers);