aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/__tests__/__snapshots__
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-05-04 21:13:12 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitf470636a70943a8ecad8bddc791a1c2dddd28e1e (patch)
treec43d109d88adbde9a696084070cdd92c6b9a004b /vnext/src/components/__tests__/__snapshots__
parent3d7d213e3ddc5bf4f71d536f31677b768aa3b7c0 (diff)
Components -> UI
Diffstat (limited to 'vnext/src/components/__tests__/__snapshots__')
-rw-r--r--vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap41
-rw-r--r--vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap178
-rw-r--r--vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap33
3 files changed, 0 insertions, 252 deletions
diff --git a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap b/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap
deleted file mode 100644
index 47614f5a..00000000
--- a/vnext/src/components/__tests__/__snapshots__/Avatar.test.js.snap
+++ /dev/null
@@ -1,41 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Avatar renders correctly 1`] = `
-<div
- className="Avatar"
->
- <div
- className="msg-avatar"
- >
- <a
- href="/ugnich/"
- onClick={[Function]}
- >
- <img
- alt="ugnich"
- src="https://juick.com/i/a/1-deadbeef.png"
- />
- </a>
- </div>
- <div
- style={
- Object {
- "display": "flex",
- "flexDirection": "column",
- "justifyContent": "center",
- }
- }
- >
- <span>
- <a
- href="/ugnich/"
- onClick={[Function]}
- >
- <span>
- ugnich
- </span>
- </a>
- </span>
- </div>
-</div>
-`;
diff --git a/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap b/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap
deleted file mode 100644
index cd08b1b4..00000000
--- a/vnext/src/components/__tests__/__snapshots__/LoginButton.test.js.snap
+++ /dev/null
@@ -1,178 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Login button and form are renders correctly 1`] = `
-<a
- onClick={[Function]}
->
- <div
- className="icon icon--ei-user icon--s"
- >
- <svg
- className="icon__cnt"
- dangerouslySetInnerHTML={
- Object {
- "__html": "<use xlink:href=#ei-user-icon />",
- }
- }
- />
- </div>
- <span
- className="desktop"
- >
- Log in
- </span>
-</a>
-`;
-
-exports[`Login button and form are renders correctly 2`] = `
-Array [
- <a
- onClick={[Function]}
- >
- <div
- className="icon icon--ei-user icon--s"
- >
- <svg
- className="icon__cnt"
- dangerouslySetInnerHTML={
- Object {
- "__html": "<use xlink:href=#ei-user-icon />",
- }
- }
- />
- </div>
- <span
- className="desktop"
- >
- Log in
- </span>
- </a>,
- <div
- id="dialogt"
- >
- <div
- id="dialogw"
- >
- <div
- id="dialog_header"
- >
- <div
- id="dialogc"
- onClick={[Function]}
- >
- <div
- className="icon icon--ei-close icon--s"
- >
- <svg
- className="icon__cnt"
- dangerouslySetInnerHTML={
- Object {
- "__html": "<use xlink:href=#ei-close-icon />",
- }
- }
- />
- </div>
- </div>
- </div>
- <div
- className="dialoglogin"
- >
- <p>
- Please, introduce yourself:
- </p>
- <div
- style={
- Object {
- "display": "flex",
- "justifyContent": "space-evenly",
- "padding": "4px",
- }
- }
- >
- <a
- href="https://juick.com/api/_fblogin?state=http://localhost/"
- style={
- Object {
- "background": "#3b5998",
- "color": "#fff",
- "padding": "2px 14px",
- }
- }
- >
- <div
- className="icon icon--s"
- >
- <svg
- className="icon__cnt"
- dangerouslySetInnerHTML={
- Object {
- "__html": "<use xlink:href=#ei-sc-facebook-icon />",
- }
- }
- />
- </div>
- Log in
- </a>
- <a
- href="https://juick.com/api/_vklogin?state=http://localhost/"
- style={
- Object {
- "background": "#4c75a3",
- "color": "#fff",
- "padding": "2px 14px",
- }
- }
- >
- <div
- className="icon icon--s"
- >
- <svg
- className="icon__cnt"
- dangerouslySetInnerHTML={
- Object {
- "__html": "<use xlink:href=#ei-sc-vk-icon />",
- }
- }
- />
- </div>
- Log in
- </a>
- </div>
- <p>
- Already registered?
- </p>
- <form
- onSubmit={[Function]}
- >
- <input
- className="input"
- name="username"
- onBlur={[Function]}
- onChange={[Function]}
- placeholder="Username..."
- type="text"
- value=""
- />
- <br />
- <input
- className="input"
- name="password"
- onBlur={[Function]}
- onChange={[Function]}
- placeholder="Password..."
- type="password"
- value=""
- />
- <br />
- <button
- className="Button"
- onClick={[Function]}
- >
- OK
- </button>
- </form>
- </div>
- </div>
- </div>,
-]
-`;
diff --git a/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap b/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap
deleted file mode 100644
index 15e25367..00000000
--- a/vnext/src/components/__tests__/__snapshots__/UserLink.test.js.snap
+++ /dev/null
@@ -1,33 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`UserLink renders correctly 1`] = `
-Array [
- <a
- className="info-avatar"
- href="/ugnich/"
- onClick={[Function]}
- >
- <img
- src="https://juick.com/i/a/1-deadbeef.png"
- />
- ugnich
- </a>,
- <a
- className="info-avatar"
- href="/ugnich/"
- onClick={[Function]}
- >
- <img
- src="https://juick.com/i/a/1-deadbeef.png"
- />
- ugnich
- </a>,
- <a
- className="info-avatar"
- href="https://example.com/u/test"
- >
- <img />
-
- </a>,
-]
-`;