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:
commit
b6d2a8766d
1 changed files with 12 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue