From b6ce38122d79f1c43d04bc88711cf2ad94fbe5f3 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 7 Apr 2022 10:12:23 -0400 Subject: [PATCH] Add simple test for FormActions --- .../ui/form-actions/__tests__/form-actions.test.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/soapbox/components/ui/form-actions/__tests__/form-actions.test.tsx diff --git a/app/soapbox/components/ui/form-actions/__tests__/form-actions.test.tsx b/app/soapbox/components/ui/form-actions/__tests__/form-actions.test.tsx new file mode 100644 index 0000000000..3c954ca69b --- /dev/null +++ b/app/soapbox/components/ui/form-actions/__tests__/form-actions.test.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +import { render, screen } from '../../../../jest/test-helpers'; +import FormActions from '../form-actions'; + +describe('', () => { + it('renders successfully', () => { + render(
child
); + + expect(screen.getByTestId('child')).toBeInTheDocument(); + }); +});