2020-06-09 19:29:50 -07:00
|
|
|
import React from 'react';
|
|
|
|
import ColumnHeader from '../column_header';
|
2020-06-09 20:14:48 -07:00
|
|
|
import { createComponent } from 'soapbox/test_helpers';
|
2020-06-09 19:29:50 -07:00
|
|
|
|
|
|
|
describe('<ColumnHeader />', () => {
|
|
|
|
it('renders correctly with minimal props', () => {
|
2020-06-09 20:14:48 -07:00
|
|
|
const component = createComponent(<ColumnHeader />);
|
2020-06-09 19:29:50 -07:00
|
|
|
const tree = component.toJSON();
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|