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.
unit-test-server
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 test
.
.gitlab-ci.yml
...
unit-test-server:
stage: test
Click to load comments...