11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
3+ exports [` <Image /> should have a transition-delay of 1sec 1` ] = `
4+ <div >
5+ <div
6+ class = " fixedImage gatsby-image-wrapper"
7+ style = " position: relative; overflow: hidden; display: inline; width: 100px; height: 100px;"
8+ >
9+ <div
10+ style = " background-color: lightgray; width: 100px; opacity: 1; height: 100px; transition-delay: 1000ms;"
11+ title = " Title for the image"
12+ />
13+ <img
14+ alt = " "
15+ class = " placeholder"
16+ src = " string_of_base64"
17+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition-delay: 1000ms; color: red;"
18+ title = " Title for the image"
19+ />
20+ <picture >
21+ <source
22+ srcset = " some srcSetWebp"
23+ type = " image/webp"
24+ />
25+ <img
26+ alt = " Alt text for the image"
27+ crossorigin = " anonymous"
28+ height = " 100"
29+ itemprop = " item-prop-for-the-image"
30+ src = " test_image.jpg"
31+ srcset = " some srcSet"
32+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1000ms;"
33+ title = " Title for the image"
34+ width = " 100"
35+ />
36+ </picture >
37+ <noscript >
38+ < picture>< source type='image/webp' srcset="some srcSetWebp" />< img width="100" height="100" srcset="some srcSet" src="test_image.jpg" alt="Alt text for the image" title="Title for the image" style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/>< /picture>
39+ </noscript >
40+ </div >
41+ </div >
42+ ` ;
43+
344exports [` <Image /> should render fixed size images 1` ] = `
445<div >
546 <div
647 class = " fixedImage gatsby-image-wrapper"
748 style = " position: relative; overflow: hidden; display: inline; width: 100px; height: 100px;"
849 >
950 <div
10- style = " background-color: lightgray; width: 100px; opacity: 1; height: 100px; transition-delay: 0.5s ;"
51+ style = " background-color: lightgray; width: 100px; opacity: 1; height: 100px; transition-delay: 500ms ;"
1152 title = " Title for the image"
1253 />
1354 <img
1455 alt = " "
1556 class = " placeholder"
1657 src = " string_of_base64"
17- style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition-delay: 0.5s ; color: red;"
58+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition-delay: 500ms ; color: red;"
1859 title = " Title for the image"
1960 />
2061 <picture >
@@ -29,7 +70,7 @@ exports[`<Image /> should render fixed size images 1`] = `
2970 itemprop = " item-prop-for-the-image"
3071 src = " test_image.jpg"
3172 srcset = " some srcSet"
32- style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.5s ;"
73+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 500ms ;"
3374 title = " Title for the image"
3475 width = " 100"
3576 />
@@ -51,14 +92,14 @@ exports[`<Image /> should render fluid images 1`] = `
5192 style = " width: 100%; padding-bottom: 66.66666666666667%;"
5293 />
5394 <div
54- style = " background-color: lightgray; position: absolute; top: 0px; bottom: 0px; opacity: 1; right: 0px; left: 0px; transition-delay: 0.5s ;"
95+ style = " background-color: lightgray; position: absolute; top: 0px; bottom: 0px; opacity: 1; right: 0px; left: 0px; transition-delay: 500ms ;"
5596 title = " Title for the image"
5697 />
5798 <img
5899 alt = " "
59100 class = " placeholder"
60101 src = " string_of_base64"
61- style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition-delay: 0.5s ; color: red;"
102+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; transition-delay: 500ms ; color: red;"
62103 title = " Title for the image"
63104 />
64105 <picture >
@@ -74,7 +115,7 @@ exports[`<Image /> should render fluid images 1`] = `
74115 sizes = " (max-width: 600px) 100vw, 600px"
75116 src = " test_image.jpg"
76117 srcset = " some srcSet"
77- style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.5s ;"
118+ style = " position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 500ms ;"
78119 title = " Title for the image"
79120 />
80121 </picture >
0 commit comments