CFE-8 Setting up required msw

This commit is contained in:
AmirHossein Mahmoodi
2023-09-23 14:34:55 +03:30
parent cb13affa38
commit 1fe87e740d
4 changed files with 21 additions and 1 deletions

1
mocks/handler.js Normal file
View File

@@ -0,0 +1 @@
export const handler = []

4
mocks/server.js Normal file
View File

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