mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
UT: Rework server module to provide an object.
This commit is contained in:
@@ -6,11 +6,11 @@ var buster = require("buster");
|
||||
var server = require("./server.js");
|
||||
|
||||
buster.testCase("Check standalone server startup", {
|
||||
"server start and stop": function (done) {
|
||||
"server start and stop": function(done) {
|
||||
server.start("alpha",
|
||||
function (e) {
|
||||
function(e) {
|
||||
buster.refute(e);
|
||||
server.stop("alpha", function (e) {
|
||||
server.stop("alpha", function(e) {
|
||||
buster.refute(e);
|
||||
done();
|
||||
});
|
||||
@@ -18,5 +18,4 @@ buster.testCase("Check standalone server startup", {
|
||||
}
|
||||
});
|
||||
|
||||
// console.log("standalone-test.js<");
|
||||
// vim:ts=4
|
||||
|
||||
Reference in New Issue
Block a user