CFE-3 CreateForm Component Debug Tests And Delete Expert Complete With its Own Tests

This commit is contained in:
2023-10-16 15:55:55 +03:30
parent d38b12aa85
commit e9795d5935
9 changed files with 204 additions and 83 deletions

View File

@@ -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),
);