Skip to content

Node.js based forum software built for the modern web

fix eslint

barisusakli667582744e3c
diff --git a/test/topics.js b/test/topics.js
index 24b4c973de..01af1f5f2e 100644
--- a/test/topics.js
+++ b/test/topics.js
@@ -1236,17 +1236,17 @@ describe('Topic\'s', function () {
assert.equal(err.message, '[[error:invalid-data]]');
done();
});
- })
+ });
it('should error with invalid type', function (done) {
socketTopics.changeWatching({uid: followerUid}, {tid: tid, type: 'derp'}, function (err) {
assert.equal(err.message, '[[error:invalid-command]]');
done();
});
- })
+ });
it('should follow topic', function (done) {
- topics.toggleFollow(tid, followerUid, function(err, isFollowing) {
+ topics.toggleFollow(tid, followerUid, function (err, isFollowing) {
assert.ifError(err);
assert(isFollowing);
topics.isFollowing([tid], followerUid, function (err, isFollowing) {