about summary refs log tree commit diff
path: root/app/javascript/themes/glitch/components/__tests__/__snapshots__
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/themes/glitch/components/__tests__/__snapshots__')
-rw-r--r--app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar-test.js.snap35
-rw-r--r--app/javascript/themes/glitch/components/__tests__/__snapshots__/avatar_overlay-test.js.snap26
-rw-r--r--app/javascript/themes/glitch/components/__tests__/__snapshots__/button-test.js.snap130
-rw-r--r--app/javascript/themes/glitch/components/__tests__/__snapshots__/display_name-test.js.snap23
4 files changed, 0 insertions, 214 deletions
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[`<Avatar /> Autoplay renders a animated avatar 1`] = `
-<div
-  className="account__avatar"
-  data-avatar-of="@alice"
-  onMouseEnter={[Function]}
-  onMouseLeave={[Function]}
-  style={
-    Object {
-      "backgroundImage": "url(/animated/alice.gif)",
-      "backgroundSize": "100px 100px",
-      "height": "100px",
-      "width": "100px",
-    }
-  }
-/>
-`;
-
-exports[`<Avatar /> Still renders a still avatar 1`] = `
-<div
-  className="account__avatar"
-  data-avatar-of="@alice"
-  onMouseEnter={[Function]}
-  onMouseLeave={[Function]}
-  style={
-    Object {
-      "backgroundImage": "url(/static/alice.jpg)",
-      "backgroundSize": "100px 100px",
-      "height": "100px",
-      "width": "100px",
-    }
-  }
-/>
-`;
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[`<AvatarOverlay renders a overlay avatar 1`] = `
-<div
-  className="account__avatar-overlay"
->
-  <div
-    className="account__avatar-overlay-base"
-    data-avatar-of="@alice"
-    style={
-      Object {
-        "backgroundImage": "url(/static/alice.jpg)",
-      }
-    }
-  />
-  <div
-    className="account__avatar-overlay-overlay"
-    data-avatar-of="@eve@blackhat.lair"
-    style={
-      Object {
-        "backgroundImage": "url(/static/eve.jpg)",
-      }
-    }
-  />
-</div>
-`;
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"
-/>
-`;
diff --git a/app/javascript/themes/glitch/components/__tests__/__snapshots__/display_name-test.js.snap b/app/javascript/themes/glitch/components/__tests__/__snapshots__/display_name-test.js.snap
deleted file mode 100644
index 533359ffe..000000000
--- a/app/javascript/themes/glitch/components/__tests__/__snapshots__/display_name-test.js.snap
+++ /dev/null
@@ -1,23 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`<DisplayName /> renders display name + account name 1`] = `
-<span
-  className="display-name"
->
-  <strong
-    className="display-name__html"
-    dangerouslySetInnerHTML={
-      Object {
-        "__html": "<p>Foo</p>",
-      }
-    }
-  />
-   
-  <span
-    className="display-name__account"
-  >
-    @
-    bar@baz
-  </span>
-</span>
-`;