chore: eslint prefer-template

This commit is contained in:
Peter Jaszkowiak
2021-02-03 23:59:08 -07:00
committed by Julian Lam
parent 4ee0f1459d
commit 707b55b6a5
357 changed files with 2425 additions and 2427 deletions

View File

@@ -11,7 +11,7 @@ describe('Language detection', function () {
it('should detect the language for a guest', function (done) {
meta.configs.set('autoDetectLang', 1, function (err) {
assert.ifError(err);
request(nconf.get('url') + '/api/config', {
request(`${nconf.get('url')}/api/config`, {
headers: {
'Accept-Language': 'de-DE,de;q=0.5',
},
@@ -29,7 +29,7 @@ describe('Language detection', function () {
it('should do nothing when disabled', function (done) {
meta.configs.set('autoDetectLang', 0, function (err) {
assert.ifError(err);
request(nconf.get('url') + '/api/config', {
request(`${nconf.get('url')}/api/config`, {
headers: {
'Accept-Language': 'de-DE,de;q=0.5',
},