diff options
Diffstat (limited to 'webapp/tests')
-rw-r--r-- | webapp/tests/client_channel.test.jsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/webapp/tests/client_channel.test.jsx b/webapp/tests/client_channel.test.jsx index 08c821f3c..77f9f9653 100644 --- a/webapp/tests/client_channel.test.jsx +++ b/webapp/tests/client_channel.test.jsx @@ -211,6 +211,23 @@ describe('Client.Channels', function() { }); }); + it('viewChannel', function(done) { + TestHelper.initBasic(() => { + var channel = TestHelper.basicChannel(); + TestHelper.basicClient().viewChannel( + channel.id, + '', + 0, + function() { + done(); + }, + function(err) { + done(new Error(err.message)); + } + ); + }); + }); + it('updateLastViewedAt', function(done) { TestHelper.initBasic(() => { var channel = TestHelper.basicChannel(); |