mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-24 20:50:14 +00:00
10 lines
262 B
JavaScript
10 lines
262 B
JavaScript
const { setupServer } = require("msw/node");
|
|
|
|
const server = setupServer();
|
|
|
|
server.listen({ onUnhandledRequest: "bypass" });
|
|
console.info("🔶 Mock server running");
|
|
|
|
process.once("SIGINT", () => server.close());
|
|
process.once("SIGTERM", () => server.close());
|