CFE-3 CreateForm Component Debug Tests And Delete Expert Complete With its Own Tests
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import {CREATE_EXPERT_MANAGEMENT, GET_PROVINCE_LIST, GET_ROLE_LIST, GET_USER_ROUTE} from "@/core/data/apiRoutes";
|
||||
import {
|
||||
CREATE_EXPERT_MANAGEMENT,
|
||||
EXPERT_MANAGEMENT,
|
||||
GET_PROVINCE_LIST,
|
||||
GET_ROLE_LIST,
|
||||
GET_USER_ROUTE
|
||||
} from "@/core/data/apiRoutes";
|
||||
import {rest} from "msw";
|
||||
|
||||
export const handler = [
|
||||
@@ -39,7 +45,7 @@ export const handler = [
|
||||
]
|
||||
}))
|
||||
}),
|
||||
rest.post(CREATE_EXPERT_MANAGEMENT, (req, res, ctx) => {
|
||||
rest.post(EXPERT_MANAGEMENT, (req, res, ctx) => {
|
||||
return res(
|
||||
ctx.status(200),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user