CFE-10 update handler msw with new route
This commit is contained in:
@@ -1 +1,8 @@
|
||||
export const handler = []
|
||||
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
|
||||
}))
|
||||
})]
|
||||
Reference in New Issue
Block a user