From 4a01b80ede8d08cf59edee68e65dc217c512741f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 9 Jun 2020 22:15:00 -0500 Subject: [PATCH] Test: LoginForm snapshot --- .../__snapshots__/login_form-test.js.snap | 60 +++++++++++++++++++ .../components/__tests__/login_form-test.js | 11 ++++ 2 files changed, 71 insertions(+) create mode 100644 app/soapbox/features/auth_login/components/__tests__/__snapshots__/login_form-test.js.snap create mode 100644 app/soapbox/features/auth_login/components/__tests__/login_form-test.js diff --git a/app/soapbox/features/auth_login/components/__tests__/__snapshots__/login_form-test.js.snap b/app/soapbox/features/auth_login/components/__tests__/__snapshots__/login_form-test.js.snap new file mode 100644 index 000000000..6c34feba7 --- /dev/null +++ b/app/soapbox/features/auth_login/components/__tests__/__snapshots__/login_form-test.js.snap @@ -0,0 +1,60 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` renders correctly 1`] = ` +
+
+
+
+ +
+
+ +
+

+ + Trouble logging in? + +

+
+
+
+ +
+
+`; diff --git a/app/soapbox/features/auth_login/components/__tests__/login_form-test.js b/app/soapbox/features/auth_login/components/__tests__/login_form-test.js new file mode 100644 index 000000000..c2be4b8a8 --- /dev/null +++ b/app/soapbox/features/auth_login/components/__tests__/login_form-test.js @@ -0,0 +1,11 @@ +import React from 'react'; +import LoginForm from '../login_form'; +import { createComponent } from 'soapbox/test_helpers'; + +describe('', () => { + it('renders correctly', () => { + expect(createComponent( + + ).toJSON()).toMatchSnapshot(); + }); +});