Skip to content

Commit

Permalink
test: fix failing test on node v12
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Jun 30, 2019
1 parent f8482fc commit fadce60
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/test-ssh.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,19 @@ var tests = [
what: 'Remote ident is not trimmed'
},
{ run: function() {
var algos = { compress: ['zlib@openssh.com'] };
var client = new SSH2Stream({
algorithms: algos
algorithms: {
compress: ['zlib@openssh.com']
}
});
var clientReady = false;
var server = new SSH2Stream({
server: true,
hostKeys: HOST_KEYS,
algorithms: algos
algorithms: {
serverHostKey: ['ssh-rsa'],
compress: ['zlib@openssh.com']
}
});
var serverReady = false;

Expand Down

0 comments on commit fadce60

Please sign in to comment.