Closed codethejason closed 8 years ago
Yeah, this test would fail on travis, Could you have the test to accept a mock file instead to make the travis test pass ?
@sudheesh001 I have just changed the node version to take advantage of require json. If that doesn't work, I can put a mock configuration in /test.
@sudheesh001 I created a mock file to use with the test. The file name is hard coded in into constants.js
.
The test ensures that the config file is being read correctly by checking if all the ports are numbers. This test also lead to other tests.