fossasia / loklak_webclient

loklak web application
http://loklak-web.herokuapp.com
MIT License
1.56k stars 49 forks source link

Config File Test #552

Closed codethejason closed 8 years ago

codethejason commented 8 years ago

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.

failed

success

sudheesh001 commented 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 ?

codethejason commented 8 years ago

@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.

codethejason commented 8 years ago

@sudheesh001 I created a mock file to use with the test. The file name is hard coded in into constants.js.