Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

linter

  • Loading branch information...
commit 869fdd04099bafe776186e394f946908617a1a03 1 parent abb13bf
Yunong Xiao authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/client.test.js
View
5 test/client.test.js
@@ -21,7 +21,6 @@ var ROOT = '/' + uuid().substr(0, 7);
var PATH = ROOT + '/' + uuid().substr(0, 7);
var FILE = PATH + '/unit_test.json';
var SUBDIR = PATH + '/foo/bar/baz';
-var ZK;
var HOST = process.env.ZK_HOST || 'localhost';
var PORT = parseInt(process.env.ZK_PORT, 10) || 2181;
@@ -77,10 +76,10 @@ test('connect no-op', function (t) {
t.ifError(err);
t.end();
});
- ZK.on('connect', function() {
+ ZK.on('connect', function () {
t.end();
});
- ZK.on('error', function(err) {
+ ZK.on('error', function (err) {
t.ifError(err);
t.end();
});
Please sign in to comment.
Something went wrong with that request. Please try again.