2020-06-09 19:29:50 -07:00
|
|
|
import React from 'react';
|
2022-01-10 14:25:06 -08:00
|
|
|
|
2020-06-09 20:14:48 -07:00
|
|
|
import { createComponent } from 'soapbox/test_helpers';
|
2022-01-10 14:25:06 -08:00
|
|
|
|
2022-01-10 14:01:24 -08:00
|
|
|
import ColumnBackButton from '../column_back_button';
|
2020-06-09 19:29:50 -07:00
|
|
|
|
|
|
|
describe('<ColumnBackButton />', () => {
|
|
|
|
it('renders correctly', () => {
|
2020-06-09 20:14:48 -07:00
|
|
|
const component = createComponent(<ColumnBackButton />);
|
2020-06-09 19:29:50 -07:00
|
|
|
const tree = component.toJSON();
|
|
|
|
expect(tree).toMatchSnapshot();
|
|
|
|
});
|
|
|
|
});
|