Files
node/Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/saucelabs/config-helper.js
2012-05-25 09:03:56 -04:00

25 lines
658 B
JavaScript

// Generated by CoffeeScript 1.3.2
(function() {
var config, should;
should = require('should');
try {
config = require('./config');
} catch (err) {
}
exports.getRemoteWdConfig = function() {
var _ref, _ref1;
should.exist(config, "Missing config!\nYou need to copy config-sample.coffee to config.coffee,\nand then configure your sauce username and access-key in\nconfig.coffee");
return {
host: "ondemand.saucelabs.com",
port: 80,
username: (_ref = config.saucelabs) != null ? _ref.username : void 0,
accessKey: (_ref1 = config.saucelabs) != null ? _ref1.accessKey : void 0
};
};
}).call(this);