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:
commit
58504aa710
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue