mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: not doing non leading word match in emoji autocomplete
This commit is contained in:
@ -28,4 +28,7 @@ test("Emoji.search", function(){
|
||||
// able to find an alias
|
||||
equal(Discourse.Emoji.search("+1").length, 1);
|
||||
|
||||
// able to find middle of line search
|
||||
equal(Discourse.Emoji.search("check", {maxResults: 3}).length, 3);
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user