Closed oke-aditya closed 4 years ago
DO NOT Merge it as of now. It has some error. I will change PR heading to merge.
@oke-aditya You mean a simple route just to test if the server is running or not? Otherwise, I know how to write tests with mocha and chai (testing libraries in node js) but they take a lot of time.
I am unsure @subhrapaladhi how tests are written in node.js. You can write a simple test to check if server is up and running. Suggestion is merge this PR. In a new PR Write the test.js just to check if server is running or not. You may or may not use mocha or chai. Just ensure that in the new PR. Node CI tests pass.
@subhrapaladhi This is ready to go in master. It will update CI of master.
test.js
. Just run index.js and check if we are up with server.I don't want to mess up package.json etc. So I didn't write test.js. Just left it empty.
I referred here