chore: set up MSW
This will help with mocking requests and responses from external services.
This commit is contained in:
1
src/mocks/handlers.ts
Normal file
1
src/mocks/handlers.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const handlers = [];
|
||||
5
src/mocks/index.ts
Normal file
5
src/mocks/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { setupServer } from "msw/node";
|
||||
|
||||
import { handlers } from "./handlers";
|
||||
|
||||
export const server = setupServer(...handlers);
|
||||
Reference in New Issue
Block a user