chore: set up MSW

This will help with mocking requests and responses from external services.
This commit is contained in:
2024-05-15 09:22:12 -04:00
parent 1e1729ae30
commit 695a1bb4cd
5 changed files with 9 additions and 4 deletions

1
src/mocks/handlers.ts Normal file
View File

@@ -0,0 +1 @@
export const handlers = [];

5
src/mocks/index.ts Normal file
View File

@@ -0,0 +1,5 @@
import { setupServer } from "msw/node";
import { handlers } from "./handlers";
export const server = setupServer(...handlers);