@mikkybang I've done a couple of things here and they should be self-explanatory. Worthy of note is the way I've handled validation errors from MongoDB. I have a custom errors and I set the error messages myself. Take a look. All my tests are passing but we don't have a pipeline on this repo yet. Let's run our tests locally for now.
@mikkybang I've done a couple of things here and they should be self-explanatory. Worthy of note is the way I've handled validation errors from MongoDB. I have a custom errors and I set the error messages myself. Take a look. All my tests are passing but we don't have a pipeline on this repo yet. Let's run our tests locally for now.