From: kibigo! Date: Sat, 18 Nov 2017 03:25:06 +0000 (-0800) Subject: Removed glitch tests X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=fc2c8b50ddbe5dead0c68cfb470e66c6adaee05b;p=mastodon.git Removed glitch tests --- 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 4005c860f..000000000 --- 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 d9e5e5252..000000000 --- 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 707cbf673..000000000 --- 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(