From d8bd57901e33a7057e26e782e295099ffcc0da89 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Wed, 6 Sep 2017 23:04:13 -0700
Subject: Removing webapp

---
 webapp/tests/components/spinner_button.test.jsx | 53 -------------------------
 1 file changed, 53 deletions(-)
 delete mode 100644 webapp/tests/components/spinner_button.test.jsx

(limited to 'webapp/tests/components/spinner_button.test.jsx')

diff --git a/webapp/tests/components/spinner_button.test.jsx b/webapp/tests/components/spinner_button.test.jsx
deleted file mode 100644
index 40a323f44..000000000
--- a/webapp/tests/components/spinner_button.test.jsx
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import React from 'react';
-import {shallow, mount} from 'enzyme';
-
-import SpinnerButton from 'components/spinner_button.jsx';
-
-describe('components/SpinnerButton', () => {
-    test('should match snapshot with required props', () => {
-        const wrapper = shallow(
-            <SpinnerButton
-                spinning={false}
-            />
-        );
-        expect(wrapper).toMatchSnapshot();
-    });
-
-    test('should match snapshot with spinning', () => {
-        const wrapper = shallow(
-            <SpinnerButton
-                spinning={true}
-            />
-        );
-        expect(wrapper).toMatchSnapshot();
-    });
-
-    test('should match snapshot with children', () => {
-        const wrapper = shallow(
-            <SpinnerButton
-                spinning={false}
-            >
-                <span id='child1'/>
-                <span id='child2'/>
-            </SpinnerButton>
-        );
-        expect(wrapper).toMatchSnapshot();
-    });
-
-    test('should handle onClick', (done) => {
-        function onClick() {
-            done();
-        }
-
-        const wrapper = mount(
-            <SpinnerButton
-                spinning={false}
-                onClick={onClick}
-            />
-        );
-        wrapper.find('button').first().props().onClick();
-    });
-});
-- 
cgit v1.2.3-1-g7c22

