2019-05-06 12:04:39 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Carousel rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-carousel ant-carousel-rtl"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-slider slick-initialized"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-list"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-track"
|
|
|
|
style="width:0%;left:NaN%"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2019-05-06 12:04:39 +08:00
|
|
|
exports[`Carousel should works for dotPosition bottom 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-carousel"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-slider slick-initialized"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-list"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-track"
|
|
|
|
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
|
|
|
data-index="0"
|
|
|
|
style="outline: none; width: 0px;"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width: 100%; display: inline-block;"
|
|
|
|
tabindex="-1"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Carousel should works for dotPosition left 1`] = `
|
|
|
|
<div
|
2020-01-03 16:53:17 +08:00
|
|
|
class="ant-carousel ant-carousel-vertical"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-12-31 11:54:39 +08:00
|
|
|
class="slick-slider slick-initialized"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-list"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-track"
|
|
|
|
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
|
|
|
data-index="0"
|
|
|
|
style="outline: none; width: 0px;"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width: 100%; display: inline-block;"
|
|
|
|
tabindex="-1"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Carousel should works for dotPosition right 1`] = `
|
|
|
|
<div
|
2020-01-03 16:53:17 +08:00
|
|
|
class="ant-carousel ant-carousel-vertical"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-12-31 11:54:39 +08:00
|
|
|
class="slick-slider slick-initialized"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-list"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-track"
|
|
|
|
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
|
|
|
data-index="0"
|
|
|
|
style="outline: none; width: 0px;"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width: 100%; display: inline-block;"
|
|
|
|
tabindex="-1"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Carousel should works for dotPosition top 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-carousel"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-slider slick-initialized"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-list"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="slick-track"
|
|
|
|
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="slick-slide slick-active slick-current"
|
|
|
|
data-index="0"
|
|
|
|
style="outline: none; width: 0px;"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
style="width: 100%; display: inline-block;"
|
|
|
|
tabindex="-1"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|