diff options
author | Starfall <us@starfall.systems> | 2023-04-14 19:22:47 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-04-14 19:22:47 -0500 |
commit | 4fe1689de43f4404eb9530fcfbcbfb26d6c1c13a (patch) | |
tree | 6811b845bb7f4966b10dcefa3dea404246f161c7 /app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap | |
parent | 65c1e53a32cabcdbb7bca57002bb0f6acdebe07e (diff) | |
parent | bed63f6dae0879ac840066b031229e0d139089cd (diff) |
Diffstat (limited to 'app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap')
-rw-r--r-- | app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap b/app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap deleted file mode 100644 index bfc091d45..000000000 --- a/app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap +++ /dev/null @@ -1,66 +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" - onClick={[Function]} - type="button" -/> -`; - -exports[`<Button /> renders a button element 1`] = ` -<button - className="button" - onClick={[Function]} - type="button" -/> -`; - -exports[`<Button /> renders a disabled attribute if props.disabled given 1`] = ` -<button - className="button" - disabled={true} - onClick={[Function]} - type="button" -/> -`; - -exports[`<Button /> renders class="button--block" if props.block given 1`] = ` -<button - className="button button--block" - onClick={[Function]} - type="button" -/> -`; - -exports[`<Button /> renders the children 1`] = ` -<button - className="button" - onClick={[Function]} - type="button" -> - <p> - children - </p> -</button> -`; - -exports[`<Button /> renders the given text 1`] = ` -<button - className="button" - onClick={[Function]} - type="button" -> - foo -</button> -`; - -exports[`<Button /> renders the props.text instead of children 1`] = ` -<button - className="button" - onClick={[Function]} - type="button" -> - foo -</button> -`; |