Setting up Jenkins to Run Angular Unit Tests
To be able to run unit tests in a Linux-based Jenkins instance, you just need to SSH into the Jenkins instance and run the following command:
When installing, you may run into a dependency issue, if so, run:
After Google Chrome is installed, you should be able to run
npm test, meaning you can use Jenkins to run unit tests in the CI process.