mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
chore: eslint prefer-template
This commit is contained in:
committed by
Julian Lam
parent
4ee0f1459d
commit
707b55b6a5
@@ -692,7 +692,7 @@ describe('Groups', function () {
|
||||
assert.ifError(err);
|
||||
User.getUserData(uid, function (err, data) {
|
||||
assert.ifError(err);
|
||||
assert.equal(data.groupTitle, '["' + groupName + '"]');
|
||||
assert.equal(data.groupTitle, `["${groupName}"]`);
|
||||
assert.deepEqual(data.groupTitleArray, [groupName]);
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user