Skip to content

Commit 62db0c7

Browse files
committed
Tests for config
1 parent cbe54db commit 62db0c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/index-nodetest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ previous.push(current);
108108

109109
return previous;
110110
}, []);
111-
assert.equal(messages.length, 4);
111+
assert.equal(messages.length, 5);
112112
});
113113

114114
it('adds default config to the config object', function() {
@@ -124,6 +124,7 @@ previous.push(current);
124124
plugin.beforeHook(context);
125125
plugin.configure(context);
126126
assert.isDefined(config['ssh-tunnel'].dstPort);
127+
assert.isDefined(config['ssh-tunnel'].dstHost);
127128
assert.isDefined(config['ssh-tunnel'].srcPort);
128129
assert.isDefined(config['ssh-tunnel'].tunnelClient);
129130
assert.isDefined(config['ssh-tunnel'].privateKeyPath);

0 commit comments

Comments
 (0)