diff --git a/app/soapbox/features/forms/__tests__/__snapshots__/forms-test.js.snap b/app/soapbox/features/forms/__tests__/__snapshots__/forms-test.js.snap new file mode 100644 index 000000000..9f0440287 --- /dev/null +++ b/app/soapbox/features/forms/__tests__/__snapshots__/forms-test.js.snap @@ -0,0 +1,101 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` renders correctly 1`] = ` +
+ +
+`; + +exports[` renders correctly 1`] = ` +
+`; + +exports[` renders correctly 1`] = ` +
+ +
+`; + +exports[` renders correctly 1`] = ` +
+`; + +exports[` renders correctly 1`] = ` +
+
+
+
+`; + +exports[` renders correctly 1`] = ` + +`; + +exports[` renders correctly 1`] = ` +
+`; + +exports[` renders correctly 1`] = ` +
+ +
+`; + +exports[` renders correctly 1`] = ` +
+ +
+`; diff --git a/app/soapbox/features/forms/__tests__/forms-test.js b/app/soapbox/features/forms/__tests__/forms-test.js new file mode 100644 index 000000000..ffb30b273 --- /dev/null +++ b/app/soapbox/features/forms/__tests__/forms-test.js @@ -0,0 +1,85 @@ +import React from 'react'; +import renderer from 'react-test-renderer'; +import { + InputContainer, + SimpleInput, + SimpleForm, + FieldsGroup, + Checkbox, + RadioGroup, + SelectDropdown, + TextInput, + FileChooser, +} from '..'; + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +}); + +describe('', () => { + it('renders correctly', () => { + expect(renderer.create( + + ).toJSON()).toMatchSnapshot(); + }); +});