mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	chore: eslint prefer-template
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							4ee0f1459d
						
					
				
				
					commit
					707b55b6a5
				
			| @@ -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', | ||||
| 				}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user