fix: Avatar renders an incorrect symbol if it has emoji (#5184)
This commit is contained in:
7
app/javascript/shared/helpers/specs/Emoji.spec.js
Normal file
7
app/javascript/shared/helpers/specs/Emoji.spec.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { removeEmoji } from '../emoji';
|
||||
|
||||
describe('#removeEmoji', () => {
|
||||
it('returns values without emoji', () => {
|
||||
expect(removeEmoji('😄Hi👋🏻 there❕')).toEqual('Hi there');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user