Server unit tests
In this video, we'll set up a job to run the server unit tests. This is a little more complicated than the client unit tests, as these tests require MongoDB and other software beyond Node and NPM.
Let's start by creating a new job that we'll call
unit-test-server. This job is also part of the test stage, so let's give it a property
stage and assign that
... unit-test-server: stage: test