mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-28 13:20:20 +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