123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should render correctly 1`] = `
- <tr>
- <td
- className="thin nowrap text-middle"
- >
- <withAppStateContext(Avatar)
- name="One"
- size={36}
- />
- </td>
- <UserListItemIdentity
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- <td
- className="thin nowrap text-middle"
- >
- <UserScmAccounts
- scmAccounts={Array []}
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <DateFromNow
- date="2019-01-18T15:06:33+0100"
- hourPrecision={true}
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <UserGroups
- groups={Array []}
- onUpdateUsers={[MockFunction]}
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <ButtonIcon
- className="js-user-tokens spacer-left button-small"
- onClick={[Function]}
- tooltip="users.update_tokens"
- >
- <BulletListIcon />
- </ButtonIcon>
- </td>
- <td
- className="thin nowrap text-right text-middle"
- >
- <UserActions
- isCurrentUser={false}
- onUpdateUsers={[MockFunction]}
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- </td>
- </tr>
- `;
-
- exports[`should render correctly without last connection date 1`] = `
- <tr>
- <td
- className="thin nowrap text-middle"
- >
- <withAppStateContext(Avatar)
- name="One"
- size={36}
- />
- </td>
- <UserListItemIdentity
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- <td
- className="thin nowrap text-middle"
- >
- <UserScmAccounts
- scmAccounts={Array []}
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <DateFromNow
- date="2019-01-18T15:06:33+0100"
- hourPrecision={true}
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <UserGroups
- groups={Array []}
- onUpdateUsers={[MockFunction]}
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- </td>
- <td
- className="thin nowrap text-middle"
- >
- <ButtonIcon
- className="js-user-tokens spacer-left button-small"
- onClick={[Function]}
- tooltip="users.update_tokens"
- >
- <BulletListIcon />
- </ButtonIcon>
- </td>
- <td
- className="thin nowrap text-right text-middle"
- >
- <UserActions
- isCurrentUser={false}
- onUpdateUsers={[MockFunction]}
- user={
- Object {
- "active": true,
- "lastConnectionDate": "2019-01-18T15:06:33+0100",
- "local": false,
- "login": "obi",
- "name": "One",
- "scmAccounts": Array [],
- }
- }
- />
- </td>
- </tr>
- `;
|