amis/__tests__/renderers/__snapshots__/Carousel.test.tsx.snap
RickCole 3ffebe8ae3
feat: 超级表头支持模板;升级 @testing-library/react 支持 react 18 (#3955)
* feat: 超级表头支持模板;@testing-library/react 支持 react 18

* 修复部分测试报错

* 修复单测

* 更新单测

* 修改buttongroup单测
2022-04-07 14:00:31 +08:00

84 lines
1.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderer:carousel 1`] = `
<div>
<div
class="cxd-Carousel cxd-Carousel--light show"
style="width: 500px; height: 300px;"
>
<div
class="cxd-Carousel-container"
>
<div
class="cxd-Carousel-item fade out"
>
<div
class="cxd-Image cxd-Image--original cxd-Carousel-image"
>
<div
class="cxd-Image-origin cxd-Image-origin--contain"
>
<img
class="cxd-Image-image"
src="https://internal-amis-res.cdn.bcebos.com/images/2019-12/1577157239810/da6376bf988c.png"
/>
</div>
<div
class="cxd-Image-info"
>
<div
class="cxd-Image-title"
title="标题"
>
标题
</div>
</div>
</div>
</div>
<div
class="cxd-Carousel-item fade in"
>
<span
class="cxd-Html"
>
<div
style="width: 100%; height: 300px; background: #e3e3e3; text-align: center; line-height: 300px;"
>
carousel data
</div>
</span>
</div>
</div>
<div
class="cxd-Carousel-dotsControl"
>
<span
class="cxd-Carousel-dot"
/>
<span
class="cxd-Carousel-dot is-active"
/>
<span
class="cxd-Carousel-dot"
/>
</div>
<div
class="cxd-Carousel-leftArrow"
>
<icon-mock
classname="icon icon-left-arrow"
icon="left-arrow"
/>
</div>
<div
class="cxd-Carousel-rightArrow"
>
<icon-mock
classname="icon icon-right-arrow"
icon="right-arrow"
/>
</div>
</div>
</div>
`;