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

7 lines
201 B
JavaScript

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