Browse Source

Fix snapshot test

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

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

@ -104,9 +104,6 @@ exports[`renders ./components/card/demo/flexible-content.md correctly 1`] = `
<div> <div>
<div <div
class="ant-card-meta" class="ant-card-meta"
>
<div
class="ant-card-meta-content"
> >
<div <div
class="ant-card-meta-detail" class="ant-card-meta-detail"
@ -125,7 +122,6 @@ exports[`renders ./components/card/demo/flexible-content.md correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
`; `;
@ -490,9 +486,6 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
<div> <div>
<div <div
class="ant-card-meta" class="ant-card-meta"
>
<div
class="ant-card-meta-content"
> >
<div <div
class="ant-card-meta-avatar" class="ant-card-meta-avatar"
@ -522,7 +515,6 @@ exports[`renders ./components/card/demo/meta.md correctly 1`] = `
</div> </div>
</div> </div>
</div> </div>
</div>
<ul <ul
class="ant-card-actions" class="ant-card-actions"
> >

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