diff --git a/.github/workflows/files-changed.yml b/.github/workflows/files-changed.yml index 658d3a9beaeb8..0c382567cca7a 100644 --- a/.github/workflows/files-changed.yml +++ b/.github/workflows/files-changed.yml @@ -39,6 +39,7 @@ jobs: backend: - "**/*.go" - "templates/**/*.tmpl" + - "assets/emoji.json" - "go.mod" - "go.sum" - "Makefile" @@ -46,6 +47,7 @@ jobs: frontend: - "**/*.js" - "web_src/**" + - "assets/emoji.json" - "package.json" - "package-lock.json" - "Makefile" diff --git a/web_src/js/utils/match.test.js b/web_src/js/utils/match.test.js index f73ec56f8e0d6..a7b9e8d7f64ea 100644 --- a/web_src/js/utils/match.test.js +++ b/web_src/js/utils/match.test.js @@ -39,6 +39,10 @@ test('matchEmoji', () => { expect(matchEmoji('1st_')).toEqual([ '1st_place_medal', ]); + + expect(matchEmoji('jellyfish')).toEqual([ + 'jellyfish', + ]); }); test('matchMention', () => {