I am new to circleCI and build a very simple “hello world” app to get myself familiar with circleCI.
In my app I have a mocha test that requests the “/” resource and checks the status code. In order for that test to work, the node app needs to be running.
Can this be done in circleCI or can this only be done by first building a docker container, running the container and afterwards executing the tests?
At the moment the test fails because he cannot connect to the server.
I even tried adding this to the circle.yml but still it fails although the server has been started…
- node main &