added test runner for jenkins

This commit is contained in:
Spencer Alger
2013-11-11 13:10:30 -07:00
parent 0fa5da3f62
commit 7912ae63af
18 changed files with 15249 additions and 3393 deletions

View File

@ -11,6 +11,15 @@ var defaults = {
};
if (process.browser) {
/* jshint browser:true */
if (window.ES_HOST) {
defaults.host = window.ES_HOST;
}
if (window.ES_PORT) {
defaults.port = window.ES_PORT;
}
module.exports = defaults;
} else {
module.exports = require('optimist')