mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	rename tributeValues to mentionValues (#25375)
Very simple change, just rename this variable so it does not feature the name of the module.
This commit is contained in:
		@@ -42,6 +42,6 @@ test('matchEmoji', () => {
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
test('matchMention', () => {
 | 
			
		||||
  expect(matchMention('')).toEqual(window.config.tributeValues.slice(0, 6));
 | 
			
		||||
  expect(matchMention('user4')).toEqual([window.config.tributeValues[3]]);
 | 
			
		||||
  expect(matchMention('')).toEqual(window.config.mentionValues.slice(0, 6));
 | 
			
		||||
  expect(matchMention('user4')).toEqual([window.config.mentionValues[3]]);
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user