diff --git a/mocks/handler.js b/mocks/handler.js index 5eff8ae..49e0f99 100644 --- a/mocks/handler.js +++ b/mocks/handler.js @@ -1 +1,8 @@ -export const handler = [] \ No newline at end of file +import {GET_USER_ROUTE} from "@/core/data/apiRoutes"; +import {rest} from "msw"; + +export const handler = [rest.get(GET_USER_ROUTE, (req, res, ctx) => { + return res(ctx.json({ + id: 10 + })) +})] \ No newline at end of file