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

1
components/list/demo/vertical.md

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

Loading…
Cancel
Save