ant-design/components/carousel/__tests__/__snapshots__/demo.test.js.snap

358 lines
7.4 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/carousel/demo/autoplay.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-carousel"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-initialized slick-slider"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-list"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-track"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-slide slick-cloned"
data-index="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2018-03-05 11:23:26 +08:00
class="slick-slide slick-active slick-cloned slick-current"
2016-11-22 14:28:05 +08:00
data-index="0"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="1"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="2"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="3"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2017-08-31 12:19:42 +08:00
class="slick-slide slick-cloned"
data-index="4"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
2018-02-04 22:20:39 +08:00
<div
class="slick-slide slick-cloned"
data-index="5"
>
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="6"
>
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="7"
>
<h3>
4
</h3>
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/carousel/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-carousel"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-initialized slick-slider"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-list"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-track"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-slide slick-cloned"
data-index="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2018-03-05 11:23:26 +08:00
class="slick-slide slick-active slick-cloned slick-current"
2016-11-22 14:28:05 +08:00
data-index="0"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="1"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="2"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="3"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2017-08-31 12:19:42 +08:00
class="slick-slide slick-cloned"
data-index="4"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
2018-02-04 22:20:39 +08:00
<div
class="slick-slide slick-cloned"
data-index="5"
>
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="6"
>
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="7"
>
<h3>
4
</h3>
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/carousel/demo/fade.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-carousel"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-initialized slick-slider"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-list"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-track"
>
2016-11-22 14:28:05 +08:00
<div
2018-03-05 11:23:26 +08:00
class="slick-slide slick-active slick-cloned slick-current"
2016-11-22 14:28:05 +08:00
data-index="0"
2018-03-05 11:23:26 +08:00
style="outline:none;position:relative;left:0;opacity:1;visibility:visible;transition:opacity 500ms ease, visibility 500ms ease;-webkit-transition:opacity 500ms ease, visibility 500ms ease"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="1"
2018-03-05 11:23:26 +08:00
style="outline:none;position:relative;left:0;opacity:0;visibility:hidden;transition:opacity 500ms ease, visibility 500ms ease;-webkit-transition:opacity 500ms ease, visibility 500ms ease"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="2"
2018-03-05 11:23:26 +08:00
style="outline:none;position:relative;left:0;opacity:0;visibility:hidden;transition:opacity 500ms ease, visibility 500ms ease;-webkit-transition:opacity 500ms ease, visibility 500ms ease"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="3"
2018-03-05 11:23:26 +08:00
style="outline:none;position:relative;left:0;opacity:0;visibility:hidden;transition:opacity 500ms ease, visibility 500ms ease;-webkit-transition:opacity 500ms ease, visibility 500ms ease"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
</div>
</div>
</div>
</div>
`;
exports[`renders ./components/carousel/demo/vertical.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-carousel ant-carousel-vertical"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-initialized slick-slider slick-vertical"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-list"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-track"
>
2016-11-22 14:28:05 +08:00
<div
class="slick-slide slick-cloned"
data-index="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2018-03-05 11:23:26 +08:00
class="slick-slide slick-active slick-cloned slick-current"
2016-11-22 14:28:05 +08:00
data-index="0"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="1"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="2"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="3"
2017-09-20 16:26:18 +08:00
style="outline:none"
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<h3>
4
</h3>
</div>
<div
2017-08-31 12:19:42 +08:00
class="slick-slide slick-cloned"
data-index="4"
>
2016-11-22 14:28:05 +08:00
<h3>
1
</h3>
</div>
2018-02-04 22:20:39 +08:00
<div
class="slick-slide slick-cloned"
data-index="5"
>
<h3>
2
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="6"
>
<h3>
3
</h3>
</div>
<div
class="slick-slide slick-cloned"
data-index="7"
>
<h3>
4
</h3>
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;