Commit 224b9cfe authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

update tests snapshot and packages

parent eadc7492
This diff is collapsed.
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`JobStatus should match snapshot 1`] = `
Array [
<svg
aria-describedby={undefined}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
viewBox="0 0 24 24"
<svg
aria-describedby={null}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
role="presentation"
title="Succès"
viewBox="0 0 24 24"
>
<g>
<path
d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"
/>
</g>
</svg>,
<div
className="MuiTooltip-popper-1"
data-placement={undefined}
data-x-out-of-boundaries={undefined}
style={
Object {
"left": 0,
"opacity": 0,
"pointerEvents": "none",
"position": "absolute",
"top": 0,
}
}
>
<div
aria-hidden={true}
className="MuiTooltip-tooltip-3 MuiTooltip-tooltipPlacementLeft-5"
id={undefined}
role="tooltip"
>
Succès
</div>
</div>,
]
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"
/>
</svg>
`;
exports[`JobStatus should match snapshot 2`] = `
Array [
<svg
aria-describedby={undefined}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
viewBox="0 0 24 24"
>
<g>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
/>
</g>
</svg>,
<div
className="MuiTooltip-popper-1"
data-placement={undefined}
data-x-out-of-boundaries={undefined}
style={
Object {
"left": 0,
"opacity": 0,
"pointerEvents": "none",
"position": "absolute",
"top": 0,
}
}
<svg
aria-describedby={null}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
role="presentation"
title="Erreur"
viewBox="0 0 24 24"
>
<div
aria-hidden={true}
className="MuiTooltip-tooltip-3 MuiTooltip-tooltipPlacementLeft-5"
id={undefined}
role="tooltip"
>
Erreur
</div>
</div>,
]
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
/>
</svg>
`;
exports[`JobStatus should match snapshot 3`] = `
Array [
<svg
aria-describedby={undefined}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
viewBox="0 0 24 24"
>
<g>
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"
/>
</g>
</svg>,
<div
className="MuiTooltip-popper-1"
data-placement={undefined}
data-x-out-of-boundaries={undefined}
style={
Object {
"left": 0,
"opacity": 0,
"pointerEvents": "none",
"position": "absolute",
"top": 0,
}
}
<svg
aria-describedby={null}
aria-hidden="true"
className="MuiSvgIcon-root-9"
color={undefined}
focusable="false"
onBlur={[Function]}
onFocus={[Function]}
onMouseLeave={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
onTouchStart={[Function]}
role="presentation"
title="Programmé"
viewBox="0 0 24 24"
>
<div
aria-hidden={true}
className="MuiTooltip-tooltip-3 MuiTooltip-tooltipPlacementLeft-5"
id={undefined}
role="tooltip"
>
Programmé
</div>
</div>,
]
<path
d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
/>
</svg>
`;
......@@ -20,31 +20,35 @@ exports[`should match snapshot 1`] = `
className="MuiSvgIcon-root-35"
color={undefined}
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<g>
<path
d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"
/>
</g>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"
/>
</svg>
</div>
<div
className="MuiCardHeader-content-32"
>
<span
className="MuiTypography-root-42 MuiTypography-body2-50 MuiCardHeader-title-33"
className="MuiTypography-root-44 MuiTypography-body2-52 MuiCardHeader-title-33"
>
Services
</span>
</div>
</div>
<ul
className="MuiList-root-66 MuiList-padding-67"
className="MuiList-root-80 MuiList-padding-81"
>
<div
className="MuiButtonBase-root-80 MuiListItem-root-70 MuiListItem-default-73 MuiListItem-gutters-77 MuiListItem-button-78"
className="MuiButtonBase-root-96 MuiListItem-root-84 MuiListItem-default-87 MuiListItem-gutters-92 MuiListItem-button-93"
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
......@@ -57,40 +61,48 @@ exports[`should match snapshot 1`] = `
role="button"
tabIndex="0"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35 MuiListItemIcon-root-83"
color={undefined}
focusable="false"
<div
className="MuiListItemIcon-root-99"
style={
Object {
"color": "#2e7d32",
}
}
viewBox="0 0 24 24"
>
<g>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35"
color={undefined}
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z"
/>
</g>
</svg>
</svg>
</div>
<div
className="MuiListItemText-root-84 MuiListItemText-inset-85"
className="MuiListItemText-root-100 MuiListItemText-inset-101"
>
<span
className="MuiTypography-root-42 MuiTypography-subheading-49 MuiListItemText-primary-87"
className="MuiTypography-root-44 MuiTypography-body1-53 MuiListItemText-primary-103"
>
apache2
</span>
</div>
<span
className="MuiTouchRipple-root-90"
className="MuiTouchRipple-root-106"
/>
</div>
<div
className="MuiButtonBase-root-80 MuiListItem-root-70 MuiListItem-default-73 MuiListItem-gutters-77 MuiListItem-button-78"
className="MuiButtonBase-root-96 MuiListItem-root-84 MuiListItem-default-87 MuiListItem-gutters-92 MuiListItem-button-93"
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
......@@ -103,40 +115,48 @@ exports[`should match snapshot 1`] = `
role="button"
tabIndex="0"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35 MuiListItemIcon-root-83"
color={undefined}
focusable="false"
<div
className="MuiListItemIcon-root-99"
style={
Object {
"color": "#2e7d32",
}
}
viewBox="0 0 24 24"
>
<g>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35"
color={undefined}
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z"
/>
</g>
</svg>
</svg>
</div>
<div
className="MuiListItemText-root-84 MuiListItemText-inset-85"
className="MuiListItemText-root-100 MuiListItemText-inset-101"
>
<span
className="MuiTypography-root-42 MuiTypography-subheading-49 MuiListItemText-primary-87"
className="MuiTypography-root-44 MuiTypography-body1-53 MuiListItemText-primary-103"
>
elasticsearch
</span>
</div>
<span
className="MuiTouchRipple-root-90"
className="MuiTouchRipple-root-106"
/>
</div>
<div
className="MuiButtonBase-root-80 MuiListItem-root-70 MuiListItem-default-73 MuiListItem-gutters-77 MuiListItem-button-78"
className="MuiButtonBase-root-96 MuiListItem-root-84 MuiListItem-default-87 MuiListItem-gutters-92 MuiListItem-button-93"
onBlur={[Function]}
onContextMenu={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
onKeyUp={[Function]}
......@@ -149,35 +169,42 @@ exports[`should match snapshot 1`] = `
role="button"
tabIndex="0"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35 MuiListItemIcon-root-83"
color={undefined}
focusable="false"
<div
className="MuiListItemIcon-root-99"
style={
Object {
"color": "#2e7d32",
}
}
viewBox="0 0 24 24"
>
<g>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-35"
color={undefined}
focusable="false"
role="presentation"
viewBox="0 0 24 24"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z"
/>
</g>
</svg>
</svg>
</div>
<div
className="MuiListItemText-root-84 MuiListItemText-inset-85"
className="MuiListItemText-root-100 MuiListItemText-inset-101"
>
<span
className="MuiTypography-root-42 MuiTypography-subheading-49 MuiListItemText-primary-87"
className="MuiTypography-root-44 MuiTypography-body1-53 MuiListItemText-primary-103"
>
docker
</span>
</div>
<span
className="MuiTouchRipple-root-90"
className="MuiTouchRipple-root-106"
/>
</div>
</ul>
......
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should match snapshot 1`] = `
<div
className="MuiPaper-root-12 MuiPaper-elevation1-15 MuiPaper-rounded-13 MuiCard-root-11 Temperature-card-2"
>
<div
className="MuiCardHeader-root-39"
style={
Object {
"color": "rgba(0, 0, 0, 0.38)",
}
}
>
<div
className="MuiCardHeader-avatar-40"
>
<svg
aria-hidden="true"
className="MuiSvgIcon-root-45"
color={undefined}
focusable="false"
height="24px"
preserveAspectRatio="xMidYMid meet"
style={
Object {
"fontSize": "inherit",
}
}
viewBox="0 0 24 24"
width="24px"
x="0px"
y="0px"
>
<path
d="m 7.3549153,17.238312 c 0,-0.757772 0.1782997,-1.462056 0.5259837,-2.121763 0.347684,-0.659709 0.8380075,-1.203522 1.4709706,-1.640355 l 0,-8.8436545 c 0,-0.7131979 0.2407044,-1.3194161 0.7310284,-1.8097397 0.490323,-0.4903235 1.096541,-0.7488578 1.809738,-0.7488578 0.722113,0 1.328331,0.2496193 1.818656,0.7399428 0.490323,0.4992386 0.739943,1.0965417 0.739943,1.8097397 l 0,8.8436545 c 0.632961,0.436834 1.114371,0.989561 1.462055,1.640355 0.347684,0.650793 0.517069,1.36399 0.517069,2.121764 0,0.820177 -0.205046,1.586864 -0.606219,2.282234 -0.401173,0.695367 -0.953902,1.248095 -1.649271,1.649269 -0.695367,0.401174 -1.45314,0.606218 -2.282233,0.606218 -0.820177,0 -1.57795,-0.205044 -2.2733172,-0.606218 C 8.923951,20.759727 8.3712226,20.206999 7.9611337,19.511632 7.551045,18.816262 7.3549153,18.05849 7.3549153,17.238312 Z m 1.5690357,0 c 0,0.829093 0.294194,1.542291 0.8736682,2.130679 0.5794718,0.588388 1.2837548,0.882582 2.1039328,0.882582 0.829092,0 1.542291,-0.294194 2.139593,-0.891496 0.597303,-0.597305 0.900413,-1.301587 0.900413,-2.112849 0,-0.552728 -0.142641,-1.069797 -0.427919,-1.542291 -0.28528,-0.472493 -0.677538,-0.838008 -1.176777,-1.096543 l -0.249618,-0.124808 c -0.08915,-0.03566 -0.133727,-0.124809 -0.133727,-0.258534 l 0,-9.5925125 c 0,-0.2852791 -0.09806,-0.5259835 -0.303108,-0.722113 -0.205044,-0.1872143 -0.454664,-0.2852791 -0.757773,-0.2852791 -0.285279,0 -0.534899,0.098065 -0.739943,0.2852791 -0.205043,0.1872146 -0.303108,0.4279188 -0.303108,0.722113 l 0,9.5746825 c 0,0.133724 -0.04458,0.222874 -0.124809,0.258534 L 10.48407,14.590565 C 9.9937472,14.8491 9.6104035,15.214614 9.3340397,15.687108 9.0576756,16.1596 8.923951,16.667754 8.923951,17.238312 Z m 0.6953678,0 c 0,0.632964 0.2139594,1.176777 0.6507932,1.622525 0.436833,0.445749 0.953902,0.668624 1.569034,0.668624 0.615134,0 1.141117,-0.222875 1.59578,-0.668624 0.454664,-0.445748 0.677539,-0.989561 0.677539,-1.613609 0,-0.561645 -0.19613,-1.060882 -0.579474,-1.488801 -0.383343,-0.427918 -0.855837,-0.686453 -1.408565,-0.757772 l 0,-6.561422 c 0,-0.053486 -0.02675,-0.1158945 -0.08915,-0.1693842 -0.0624,-0.06241 -0.124809,-0.089148 -0.19613,-0.089148 -0.08024,0 -0.142638,0.026749 -0.187214,0.071322 -0.04458,0.053486 -0.07132,0.1069842 -0.07132,0.1872138 l 0,6.5435904 c -0.543815,0.08024 -1.007392,0.329855 -1.390736,0.757773 -0.3833438,0.436834 -0.5705585,0.927158 -0.5705585,1.497717 z"
/>
</svg>
</div>
<div
className="MuiCardHeader-content-42"
>
<span
className="MuiTypography-root-52 MuiTypography-body2-60 MuiCardHeader-title-43"
>
CPU 2
</span>
</div>
</div>
<div
className="MuiCardContent-root-76"
style={
Object {
"padding": 0,
}
}
>
<div
className="Temperature-sparkslineContainer-7"
>
<div
className="MuiTypography-root-52 MuiTypography-display1-56 Temperature-temp-8"
style={
Object {
"color": "rgba(0, 0, 0, 0.38)",
"opacity": 0.5,
}
}
>
60
°C
</div>
</div>
</div>
</div>
`;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment