Created
September 2, 2013 17:29
-
-
Save incompl/6415300 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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