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

6 lines
215 B
JavaScript
Raw Normal View History

2021-02-12 19:00:26 +01:00
// src/mocks/browser.js
2021-08-18 20:51:15 +02:00
import { setupWorker } from "msw";
import { handlers } from "./handlers";
2021-02-12 19:00:26 +01:00
// This configures a Service Worker with the given request handlers.
export const worker = setupWorker(...handlers);