diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-11-17 19:25:06 -0800 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-11-17 19:29:17 -0800 |
commit | fc2c8b50ddbe5dead0c68cfb470e66c6adaee05b (patch) | |
tree | bd099e0480c7dab0d7f38909bc842443629f08a3 /app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap | |
parent | e19fc6a9f81e3756e0198006d2eafbc2f3acadb5 (diff) |
Removed glitch tests
Diffstat (limited to 'app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap')
-rw-r--r-- | app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap | 130 |
1 files changed, 0 insertions, 130 deletions
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[`<Button /> adds class "button-secondary" if props.secondary given 1`] = ` -<button - className="button button-secondary" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -/> -`; - -exports[`<Button /> renders a button element 1`] = ` -<button - className="button" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -/> -`; - -exports[`<Button /> renders a disabled attribute if props.disabled given 1`] = ` -<button - className="button" - disabled={true} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -/> -`; - -exports[`<Button /> renders class="button--block" if props.block given 1`] = ` -<button - className="button button--block" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -/> -`; - -exports[`<Button /> renders the children 1`] = ` -<button - className="button" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -> - <p> - children - </p> -</button> -`; - -exports[`<Button /> renders the given text 1`] = ` -<button - className="button" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -> - foo -</button> -`; - -exports[`<Button /> renders the props.text instead of children 1`] = ` -<button - className="button" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } -> - foo -</button> -`; - -exports[`<Button /> renders title if props.title is given 1`] = ` -<button - className="button" - disabled={undefined} - onClick={[Function]} - style={ - Object { - "height": "36px", - "lineHeight": "36px", - "padding": "0 16px", - } - } - title="foo" -/> -`; |