Skip to content

Commit

Permalink
test unit change
Browse files Browse the repository at this point in the history
  • Loading branch information
philliphenslee committed Jul 30, 2019
1 parent 70bb4bf commit 08bc4f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/chat.spec.js
Expand Up @@ -166,10 +166,11 @@ describe('chat', function () {
error: 'channel_not_found'
});
chat.postDirectMessage('phillip', 'message', function (err, result) {
expect(err).to.be.an('error');
expect(err).to.not.equal(null);
expect(err.message).to.equal('channel_not_found');
done();
});
done();

});
});

Expand Down

0 comments on commit 08bc4f3

Please sign in to comment.