aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/__tests__/LoginButton.test.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-12 13:04:53 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit4aa33055120efa3ca3b4f7c9b5b6417c0f25b3ac (patch)
tree5d6549eeb510a03b44e36b97b7cee945e871e869 /vnext/src/ui/__tests__/LoginButton.test.js
parent510c86942bde18ee408e034003065fbde7a07b90 (diff)
Remove LoginButton test
Diffstat (limited to 'vnext/src/ui/__tests__/LoginButton.test.js')
-rw-r--r--vnext/src/ui/__tests__/LoginButton.test.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/vnext/src/ui/__tests__/LoginButton.test.js b/vnext/src/ui/__tests__/LoginButton.test.js
deleted file mode 100644
index da80abb0..00000000
--- a/vnext/src/ui/__tests__/LoginButton.test.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-
-import LoginButton from '../LoginButton';
-import { create, act } from 'react-test-renderer';
-
-test('Login button and form are renders correctly', () => {
- var button = null;
- act(() => {
- button = create(
- <LoginButton title="Log in" onAuth={() => { }} />
- );
- });
- let link = button.toJSON();
- expect(link).toMatchSnapshot();
-
- act(() => {
- button.root.findByType('a').props.onClick();
- });
- let modal = button.toJSON();
- expect(modal).toMatchSnapshot();
-});