Skip to content

Instantly share code, notes, and snippets.

@incompl
Created September 2, 2013 17:29
Show Gist options
  • Save incompl/6415300 to your computer and use it in GitHub Desktop.
Save incompl/6415300 to your computer and use it in GitHub Desktop.
// setUp is called before every test
// Pepare a server and an empty client list
setUp: function(callback) {
try {
this.port = 8091;
this.host = 'http://localhost:' + this.port;
this.server = cloakServer;
clients = [];
callback();
}
catch(e) {
console.error(e);
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment