bigbuffet-rw/app/soapbox/components/__tests__/emoji_selector.test.tsx
marcin mikołajczak 7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00

15 lines
393 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 />;
children.__proto__.addEventListener = () => {};
render(children);
expect(screen.queryAllByRole('button')).toHaveLength(6);
});
});