Chatwoot/app/javascript/shared/helpers/specs/Emoji.spec.js

8 lines
201 B
JavaScript
Raw Normal View History

import { removeEmoji } from '../emoji';
describe('#removeEmoji', () => {
it('returns values without emoji', () => {
expect(removeEmoji('😄Hi👋🏻 there❕')).toEqual('Hi there');
});
});