Merge branch 'form-actions-test' into 'next'

Add simple test for FormActions

See merge request soapbox-pub/soapbox-fe!1191
This commit is contained in:
Justin 2022-04-07 14:27:44 +00:00
commit b6d2a8766d

View file

@ -0,0 +1,12 @@
import React from 'react';
import { render, screen } from '../../../../jest/test-helpers';
import FormActions from '../form-actions';
describe('<FormActions />', () => {
it('renders successfully', () => {
render(<FormActions><div data-testid='child'>child</div></FormActions>);
expect(screen.getByTestId('child')).toBeInTheDocument();
});
});