diff options
author | 2015-07-26 12:54:23 -0700 | |
---|---|---|
committer | 2015-07-26 12:54:23 -0700 | |
commit | cbc4fb9f2e0d6971c93375e6057d1488e8b08f6d (patch) | |
tree | 1c23d8707036742bda2ec8c3534ccb6729146875 /src/node/test/channel_test.js | |
parent | e2f2e9a31a39caf56a216db0c53c74a0a52606de (diff) | |
parent | 5c575dd6e4b01cd68cca5d1917b58023dcf4ca0f (diff) |
Merge github.com:grpc/grpc into warbling-wombat
Diffstat (limited to 'src/node/test/channel_test.js')
-rw-r--r-- | src/node/test/channel_test.js | 6 |
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'); + }); + }); }); |