mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Initial check in of testing scripts.
This commit is contained in:
17
test/standalone-test.js
Normal file
17
test/standalone-test.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// console.log("standalone-test.js>");
|
||||
|
||||
var fs = require("fs");
|
||||
var buster = require("buster");
|
||||
|
||||
var server = require("./server.js");
|
||||
|
||||
buster.testCase("Check standalone server startup", {
|
||||
"Start": function (done) {
|
||||
server.start("alpha", function(e) {
|
||||
buster.refute(e);
|
||||
done();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// console.log("standalone-test.js<");
|
||||
Reference in New Issue
Block a user