Add missing tests for 100% coverage

This commit is contained in:
Alex Holliday committed 2024-10-11 11:40:10 +08:00
1 parent ab4cf69222
commit 150b4c6f0f
3 files changed
+23 -4

No files matched your search

+1
View File
@@ -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"));
}
};