Browse Source

Fix snapshot test

pull/8641/head
afc163 7 years ago
parent
commit
b49c0ac35c
  1. 56
      components/card/__tests__/__snapshots__/demo.test.js.snap
  2. 1
      components/list/demo/vertical.md

56
components/card/__tests__/__snapshots__/demo.test.js.snap

@ -106,21 +106,17 @@ exports[`renders ./components/card/demo/flexible-content.md correctly 1`] = `
class="ant-card-meta"
>
<div
class="ant-card-meta-content"
class="ant-card-meta-detail"
>
<div
class="ant-card-meta-detail"
class="ant-card-meta-title"
>
<div
class="ant-card-meta-title"
>
Europe Street beat
</div>
<div
class="ant-card-meta-description"
>
www.instagram.com
</div>
Europe Street beat
</div>
<div
class="ant-card-meta-description"
>
www.instagram.com
</div>
</div>
</div>
@ -492,32 +488,28 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
class="ant-card-meta"
>
<div
class="ant-card-meta-content"
class="ant-card-meta-avatar"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image"
>
<img
src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"
/>
</span>
</div>
<div
class="ant-card-meta-detail"
>
<div
class="ant-card-meta-avatar"
class="ant-card-meta-title"
>
<span
class="ant-avatar ant-avatar-circle ant-avatar-image"
>
<img
src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"
/>
</span>
Card title
</div>
<div
class="ant-card-meta-detail"
class="ant-card-meta-description"
>
<div
class="ant-card-meta-title"
>
Card title
</div>
<div
class="ant-card-meta-description"
>
This is the description
</div>
This is the description
</div>
</div>
</div>

1
components/list/demo/vertical.md

@ -47,7 +47,6 @@ ReactDOM.render(
size="large"
pagination={pagination}
dataSource={listData}
bordered
renderItem={item => (
<List.Item
key={item.title}

Loading…
Cancel
Save