Skip to content

Commit 55f00ae

Browse files
committed
add emoji.json dependency and add a test for new emoji
1 parent decf195 commit 55f00ae

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/files-changed.yml

+2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ jobs:
3939
backend:
4040
- "**/*.go"
4141
- "templates/**/*.tmpl"
42+
- "assets/emoji.json"
4243
- "go.mod"
4344
- "go.sum"
4445
- "Makefile"
4546
4647
frontend:
4748
- "**/*.js"
4849
- "web_src/**"
50+
- "assets/emoji.json"
4951
- "package.json"
5052
- "package-lock.json"
5153
- "Makefile"

web_src/js/utils/match.test.js

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ test('matchEmoji', () => {
3939
expect(matchEmoji('1st_')).toEqual([
4040
'1st_place_medal',
4141
]);
42+
43+
expect(matchEmoji('jellyfish')).toEqual([
44+
'jellyfish',
45+
]);
4246
});
4347

4448
test('matchMention', () => {

0 commit comments

Comments
 (0)