JS Tests: Refactored config handling.

Still far from perfect, but better than it was.
This commit is contained in:
Stefan Thomas
2013-07-27 20:18:59 -07:00
parent ccde264282
commit 3d6215fd1e
5 changed files with 68 additions and 31 deletions

View File

@@ -7,11 +7,13 @@ var testconfig = require("./testconfig.js");
exports.accounts = testconfig.accounts;
// Where to find the binary.
exports.rippled = path.resolve("build/rippled");
exports.server_default = "alpha";
exports.default_server_config = {
// Where to find the binary.
rippled_path: path.resolve(__dirname, "../build/rippled")
};
//
// Configuration for servers.
//