mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
chore: eslint prefer-template
This commit is contained in:
committed by
Julian Lam
parent
4ee0f1459d
commit
707b55b6a5
@@ -53,7 +53,7 @@ describe('emailer', function () {
|
||||
method: function (data, next) {
|
||||
assert(data);
|
||||
assert.equal(data.to, email);
|
||||
assert.equal(data.subject, '[NodeBB] ' + params.subject);
|
||||
assert.equal(data.subject, `[NodeBB] ${params.subject}`);
|
||||
|
||||
next(error);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user