2020-06-09 19:29:50 -07:00
|
|
|
import React from 'react';
|
2020-12-24 21:48:22 -08:00
|
|
|
import { createComponent } from 'soapbox/test_helpers';
|
2020-06-09 19:29:50 -07:00
|
|
|
import EmojiSelector from '../emoji_selector';
|
|
|
|
|
|
|
|
describe('<EmojiSelector />', () => {
|
|
|
|
it('renders correctly', () => {
|
2020-12-24 21:48:22 -08:00
|
|
|
const component = createComponent(<EmojiSelector />);
|
2020-06-09 19:29:50 -07:00
|
|
|
const tree = component.toJSON();
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|