bigbuffet-rw/app/soapbox/components/__tests__/emoji_selector-test.js
marcin mikołajczak c5dfd6c7d7 Update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 16:34:50 +02:00

14 lines
438 B
JavaScript

import React from 'react';
import { createComponent } from 'soapbox/test_helpers';
import EmojiSelector from '../emoji_selector';
describe('<EmojiSelector />', () => {
it('renders correctly', () => {
const children = <EmojiSelector />;
children.__proto__.addEventListener = () => {};
const component = createComponent(children, {}, true);
const tree = component.toJSON();
expect(tree).toMatchSnapshot();
});
});