diff options
author | Renaud Chaput <renchap@gmail.com> | 2023-02-20 03:20:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 03:20:59 +0100 |
commit | 44a7d87cb1f5df953b6c14c16c59e2e4ead1bcb9 (patch) | |
tree | 71b60ccd9b23ec8f8d72fa3562f0bc343c6e456e /app/javascript/mastodon/components/__tests__/__snapshots__/button-test.js.snap | |
parent | f0e1b12c101e0dd0ddaaef8bdcc166624dba62d5 (diff) |
Rename JSX files with proper `.jsx` extension (#23733)
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> -`; |