Since we are switching to using real restify in tests, it would make sense to move out server setup to separate file exporting RestifyServer instance, so we could require it in tests and have same settings, plugins, middleware chain, etc. both, in real app and in test environment.
Since we are switching to using real restify in tests, it would make sense to move out server setup to separate file exporting
RestifyServer
instance, so we could require it in tests and have same settings, plugins, middleware chain, etc. both, in real app and in test environment.