From fc2c8b50ddbe5dead0c68cfb470e66c6adaee05b Mon Sep 17 00:00:00 2001 From: kibigo! Date: Fri, 17 Nov 2017 19:25:06 -0800 Subject: [PATCH] Removed glitch tests --- .../__snapshots__/avatar-test.js.snap | 35 ----- .../__snapshots__/avatar_overlay-test.js.snap | 26 ---- .../__snapshots__/button-test.js.snap | 130 ------------------ .../__snapshots__/display_name-test.js.snap | 23 ---- .../components/__tests__/avatar-test.js | 36 ----- .../__tests__/avatar_overlay-test.js | 29 ---- .../components/__tests__/button-test.js | 82 ----------- .../components/__tests__/display_name-test.js | 18 --- .../ui/components/__tests__/column-test.js | 34 ----- .../glitch/util/emoji/__tests__/emoji-test.js | 77 ----------- .../util/emoji/__tests__/emoji_index-test.js | 130 ------------------ jest.config.js | 1 + 12 files changed, 1 insertion(+), 620 deletions(-) delete mode 100644 app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar-test.js.snap delete mode 100644 app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar_overlay-test.js.snap delete mode 100644 app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap delete mode 100644 app/javascript/themes/glitch/components/__tests__/__snapshots__/display_name-test.js.snap delete mode 100644 app/javascript/themes/glitch/components/__tests__/avatar-test.js delete mode 100644 app/javascript/themes/glitch/components/__tests__/avatar_overlay-test.js delete mode 100644 app/javascript/themes/glitch/components/__tests__/button-test.js delete mode 100644 app/javascript/themes/glitch/components/__tests__/display_name-test.js delete mode 100644 app/javascript/themes/glitch/features/ui/components/__tests__/column-test.js delete mode 100644 app/javascript/themes/glitch/util/emoji/__tests__/emoji-test.js delete mode 100644 app/javascript/themes/glitch/util/emoji/__tests__/emoji_index-test.js diff --git a/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar-test.js.snap b/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar-test.js.snap deleted file mode 100644 index 4005c860f1..0000000000 --- a/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar-test.js.snap +++ /dev/null @@ -1,35 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[` Autoplay renders a animated avatar 1`] = ` -
-`; - -exports[` Still renders a still avatar 1`] = ` -
-`; diff --git a/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar_overlay-test.js.snap b/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar_overlay-test.js.snap deleted file mode 100644 index d9e5e52528..0000000000 --- a/app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar_overlay-test.js.snap +++ /dev/null @@ -1,26 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[` -
-
-
-`; diff --git a/app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap b/app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap deleted file mode 100644 index 707cbf6739..0000000000 --- a/app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap +++ /dev/null @@ -1,130 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[` -`; - -exports[` -`; - -exports[` -`; - -exports[`); - const tree = component.toJSON(); - - expect(tree).toMatchSnapshot(); - }); - - it('renders the props.text instead of children', () => { - const text = 'foo'; - const children =

children

; - const component = renderer.create(); - const tree = component.toJSON(); - - expect(tree).toMatchSnapshot(); - }); - - it('renders class="button--block" if props.block given', () => { - const component = renderer.create(