mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 01:26:16 +01:00
chore: eslint prefer-template
This commit is contained in:
committed by
Julian Lam
parent
4ee0f1459d
commit
707b55b6a5
@@ -55,13 +55,13 @@ describe('socket.io', function () {
|
||||
|
||||
it('should connect and auth properly', function (done) {
|
||||
request.get({
|
||||
url: nconf.get('url') + '/api/config',
|
||||
url: `${nconf.get('url')}/api/config`,
|
||||
jar: cookies,
|
||||
json: true,
|
||||
}, function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
|
||||
request.post(nconf.get('url') + '/login', {
|
||||
request.post(`${nconf.get('url')}/login`, {
|
||||
jar: cookies,
|
||||
form: {
|
||||
username: 'admin',
|
||||
|
||||
Reference in New Issue
Block a user