CFE-3 complete Submission part of testing for CreateForm And

CreateContent component

ubmission part of testing for CreateForm And CreateContent component

:q
This commit is contained in:
2023-10-16 14:11:37 +03:30
parent 5ccd76bc8c
commit d38b12aa85
4 changed files with 143 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
import {GET_PROVINCE_LIST, GET_ROLE_LIST, GET_USER_ROUTE} from "@/core/data/apiRoutes";
import {CREATE_EXPERT_MANAGEMENT, GET_PROVINCE_LIST, GET_ROLE_LIST, GET_USER_ROUTE} from "@/core/data/apiRoutes";
import {rest} from "msw";
export const handler = [
@@ -38,5 +38,10 @@ export const handler = [
}
]
}))
})
}),
rest.post(CREATE_EXPERT_MANAGEMENT, (req, res, ctx) => {
return res(
ctx.status(200),
);
}),
]