Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/modern-python-enterprise-template. A modern Python enterprise template with a focus on p
Something went wrong. Try again.
316 B · 9 lines
TypeScript
at main
12345678910import { setupWorker } from "msw/browser";import { peopleHandlers } from "./people-mocks";
/** * This only works like this if you're using Vitest browser mode. * * If you're using JSDom, you'll need to import from `msw/node` and mock the FE differently */export const worker = setupWorker(...peopleHandlers);