flying-squid/test/index.js
2015-08-24 10:45:51 -04:00

19 lines
529 B
JavaScript

var boot = require('../app').boot,
shutdown = require('../app').shutdown,
port = require('../app').port;
it('passes', function() {
return true;
});
describe("Server", function() {
if("Is running", function(done) {
var client = net.Socket();
client.connect(25565, '127.0.0.1', function() {
client.close(); // or whatever the method to close the socket;
done();
});
client.on('error', function(err) {
done();
});
});
});