Add simple test for FormActions

next-virtuoso-proof
Justin 2022-04-07 10:12:23 -04:00
rodzic dbe6a0c415
commit b6ce38122d
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -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();
});
});