LunaMinds / code-cafe

Ad-hoc meetups for social programming
http://CodeCafe.io
6 stars 2 forks source link

config(tests) Add nightwatch & refactor server #27

Closed PsychoLlama closed 7 years ago

PsychoLlama commented 7 years ago

Set up and configured nightwatch.js for end-to-end testing. To facilitate the nightwatch tests, we needed a way to start the server (preferably with our port of choice), so all the server logic is now in two files:

This way our tests can use the same server as production without horrible hacks.