bigbuffet-rw/app/soapbox/components/__tests__/emoji_selector.test.tsx
2022-07-06 13:12:35 -05:00

16 lines
411 B
TypeScript

import React from 'react';
import { render, screen } from '../../jest/test-helpers';
import EmojiSelector from '../emoji_selector';
describe('<EmojiSelector />', () => {
it('renders correctly', () => {
const children = <EmojiSelector />;
// @ts-ignore
children.__proto__.addEventListener = () => {};
render(children);
expect(screen.queryAllByRole('button')).toHaveLength(6);
});
});