test/server.js asserts on exit that stop() has been called (to detect improper exit)

This commit is contained in:
Jcar
2012-12-20 11:45:06 -08:00
parent b831870576
commit aebfa168e6
2 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ var alpha;
buster.testCase("Standalone server startup", {
"server start and stop" : function (done) {
alpha = Server.from_config("alpha",true);
alpha = Server.from_config("alpha"); //ADD ,true for verbosity
alpha
.on('started', function () {