Came back to the project and ran nightwatch.js tests, no code has been changed from when the tests were last run and I have this error in my terminal:
peterrhodes (master *) cv-portfolio $ npm test
> [email protected] test /Users/peterrhodes/Desktop/cv-portfolio
> nightwatch --config tests/nightwatch.conf.BASIC.js
Starting selenium server... started - PID: 52034
[Tests] Test Suite
======================
Running: Assert Title
Error retrieving a new session from the selenium server
Connection refused! Is selenium server started?
{ Error: getaddrinfo ENOTFOUND localhost localhost:4444
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
code: 'ENOTFOUND',
errno: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'localhost',
host: 'localhost',
port: 4444 }