mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
fix and enable online client connection test
This commit is contained in:
parent
fd0d9f5a13
commit
698a64f926
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ mc.supportedVersions.forEach(function(supportedVersion){
|
|||
});
|
||||
});
|
||||
});
|
||||
it.skip("connects successfully - online mode (STUBBED)", function(done) {
|
||||
it("connects successfully - online mode", function(done) {
|
||||
wrap.startServer({'online-mode': 'true'}, function(err) {
|
||||
if(err)
|
||||
return done(err);
|
||||
|
@ -293,10 +293,10 @@ mc.supportedVersions.forEach(function(supportedVersion){
|
|||
});
|
||||
});
|
||||
client.on('chat', function(packet) {
|
||||
client.removeAllListeners('chat');
|
||||
done();
|
||||
});
|
||||
});
|
||||
done();
|
||||
});
|
||||
it("connects successfully - offline mode", function(done) {
|
||||
wrap.startServer({'online-mode': 'false'}, function(err) {
|
||||
|
|
Loading…
Reference in a new issue