aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/test/channel_test.js
diff options
context:
space:
mode:
authorGravatar Alistair Veitch <aveitch@google.com>2015-07-26 15:24:41 -0700
committerGravatar Alistair Veitch <aveitch@google.com>2015-07-26 15:24:41 -0700
commitb4cbc1e2f72b18da3c84130c5bf7b28e344fba8f (patch)
tree5564c6754f30570bb59c6e62c2ddda405a51296b /src/node/test/channel_test.js
parentaf5002f9ae647f8d82ec3b1cdaef4438cd6d2ad0 (diff)
parent5c575dd6e4b01cd68cca5d1917b58023dcf4ca0f (diff)
post-merge
Diffstat (limited to 'src/node/test/channel_test.js')
-rw-r--r--src/node/test/channel_test.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node/test/channel_test.js b/src/node/test/channel_test.js
index 33200c99ee..3e61d3bbc6 100644
--- a/src/node/test/channel_test.js
+++ b/src/node/test/channel_test.js
@@ -87,4 +87,10 @@ describe('channel', function() {
});
});
});
+ describe('getTarget', function() {
+ it('should return a string', function() {
+ var channel = new grpc.Channel('localhost', {});
+ assert.strictEqual(typeof channel.getTarget(), 'string');
+ });
+ });
});