-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`should groups at 0 if the groupCount field is not defined (just added user) 1`] = `
+exports[`test should groups at 0 if the groupCount field is not defined (just added user) 1`] = `
<tr>
<td
- className="thin nowrap"
- >
+ className="thin nowrap">
<Connect(Avatar)
hash="7daf6c79d4802916d83f6266e24850af"
- size={36}
- />
+ size={36} />
</td>
<td
- className="nowrap text-middle"
- >
+ className="nowrap text-middle">
<strong>
- john
+ John Doe
</strong>
<span
- className="note little-spacer-left"
- >
- John Doe
+ className="note little-spacer-left">
+ john
</span>
</td>
<td
- className="text-right text-middle"
- >
+ className="text-right text-middle">
organization.members.x_groups.0
</td>
<td
- className="nowrap text-middle text-right"
- >
+ className="nowrap text-middle text-right">
<div
- className="dropdown"
- >
+ className="dropdown">
<button
className="dropdown-toggle little-spacer-right"
- data-toggle="dropdown"
- >
+ data-toggle="dropdown">
<i
- className="icon-settings"
- />
+ className="icon-settings" />
<i
- className="icon-dropdown"
- />
+ className="icon-dropdown" />
</button>
<ul
- className="dropdown-menu dropdown-menu-right"
- >
+ className="dropdown-menu dropdown-menu-right">
<li>
<ManageMemberGroupsForm
member={
"key": "foo",
"name": "Foo",
}
- }
- />
+ } />
</li>
<li
className="divider"
- role="separator"
- />
+ role="separator" />
<li>
<RemoveMemberForm
member={
"key": "foo",
"name": "Foo",
}
- }
- />
+ } />
</li>
</ul>
</div>
</tr>
`;
-exports[`should not render actions and groups for non admin 1`] = `
+exports[`test should not render actions and groups for non admin 1`] = `
<tr>
<td
- className="thin nowrap"
- >
+ className="thin nowrap">
<Connect(Avatar)
hash=""
- size={36}
- />
+ size={36} />
</td>
<td
- className="nowrap text-middle"
- >
+ className="nowrap text-middle">
<strong>
- admin
+ Admin Istrator
</strong>
<span
- className="note little-spacer-left"
- >
- Admin Istrator
+ className="note little-spacer-left">
+ admin
</span>
</td>
</tr>
`;
-exports[`should render actions and groups for admin 1`] = `
+exports[`test should render actions and groups for admin 1`] = `
<tr>
<td
- className="thin nowrap"
- >
+ className="thin nowrap">
<Connect(Avatar)
hash=""
- size={36}
- />
+ size={36} />
</td>
<td
- className="nowrap text-middle"
- >
+ className="nowrap text-middle">
<strong>
- admin
+ Admin Istrator
</strong>
<span
- className="note little-spacer-left"
- >
- Admin Istrator
+ className="note little-spacer-left">
+ admin
</span>
</td>
<td
- className="text-right text-middle"
- >
+ className="text-right text-middle">
organization.members.x_groups.3
</td>
<td
- className="nowrap text-middle text-right"
- >
+ className="nowrap text-middle text-right">
<div
- className="dropdown"
- >
+ className="dropdown">
<button
className="dropdown-toggle little-spacer-right"
- data-toggle="dropdown"
- >
+ data-toggle="dropdown">
<i
- className="icon-settings"
- />
+ className="icon-settings" />
<i
- className="icon-dropdown"
- />
+ className="icon-dropdown" />
</button>
<ul
- className="dropdown-menu dropdown-menu-right"
- >
+ className="dropdown-menu dropdown-menu-right">
<li>
<ManageMemberGroupsForm
member={
"key": "foo",
"name": "Foo",
}
- }
- />
+ } />
</li>
<li
className="divider"
- role="separator"
- />
+ role="separator" />
<li>
<RemoveMemberForm
member={
"key": "foo",
"name": "Foo",
}
- }
- />
+ } />
</li>
</ul>
</div>
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`should render correctly with email instead of hash 1`] = `
+exports[`test should render correctly with email instead of hash 1`] = `
<div
onMouseDown={[Function]}
onMouseEnter={[Function]}
onMouseMove={[Function]}
- title="Administrator"
->
+ title="Administrator">
<div
- className="little-spacer-bottom little-spacer-top"
- >
+ className="little-spacer-bottom little-spacer-top">
<Connect(Avatar)
email="admin@admin.ch"
- size={20}
- />
+ size={20} />
<strong
- className="spacer-left"
- >
- admin
+ className="spacer-left">
+ Administrator
</strong>
<span
- className="note little-spacer-left"
- >
- Administrator
+ className="note little-spacer-left">
+ admin
</span>
</div>
</div>
`;
-exports[`should render correctly without all parameters 1`] = `
+exports[`test should render correctly without all parameters 1`] = `
<div
onMouseDown={[Function]}
onMouseEnter={[Function]}
onMouseMove={[Function]}
- title="Administrator"
->
+ title="Administrator">
<div
- className="little-spacer-bottom little-spacer-top"
- >
+ className="little-spacer-bottom little-spacer-top">
<Connect(Avatar)
hash="7daf6c79d4802916d83f6266e24850af"
- size={20}
- />
+ size={20} />
<strong
- className="spacer-left"
- >
- admin
+ className="spacer-left">
+ Administrator
</strong>
<span
- className="note little-spacer-left"
- >
- Administrator
+ className="note little-spacer-left">
+ admin
</span>
</div>
</div>