Add missing tests for 100% coverage
This commit is contained in:
1 parent
ab4cf69222
commit
150b4c6f0f
3 files changed
+23
-4
No files matched your search
@@ -31,6 +31,7 @@ const createCheck = async (req, res, next) => {
|
||||
.status(200)
|
||||
.json({ success: true, msg: successMessages.CHECK_CREATE, data: check });
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
next(handleError(error, SERVICE_NAME, "createCheck"));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user