Merge branch 'fix/emoji-selector-test' into 'heart-react'

Fix for emoji selector test

See merge request soapbox-pub/soapbox-fe!401
This commit is contained in:
Alex Gleason 2020-12-25 06:08:49 +00:00
commit 58504aa710

View file

@ -1,10 +1,10 @@
import React from 'react';
import renderer from 'react-test-renderer';
import { createComponent } from 'soapbox/test_helpers';
import EmojiSelector from '../emoji_selector';
describe('<EmojiSelector />', () => {
it('renders correctly', () => {
const component = renderer.create(<EmojiSelector />);
const component = createComponent(<EmojiSelector />);
const tree = component.toJSON();
expect(tree).toMatchSnapshot();
});