JS Tests: Fallback to config-example if config is not present.

This commit is contained in:
Stefan Thomas
2013-07-27 19:47:51 -07:00
parent 1d5802fd1c
commit ccde264282
10 changed files with 31 additions and 21 deletions

View File

@@ -5,8 +5,7 @@ var Remote = require("ripple-lib").Remote;
var Server = require("./server.js").Server;
var testutils = require("./testutils.js");
var config = require('ripple-lib').config.load(require('./config'));
var config = testutils.init_config();
// How long to wait for server to start.
var serverDelay = 1500; // XXX Not implemented.