Browse Source

fix snapshot test

pull/5090/head
afc163 8 years ago
parent
commit
5eef3fa467
  1. 3
      components/calendar/__tests__/__snapshots__/demo.test.js.snap
  2. 1
      components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
  3. 24
      components/table/__tests__/__snapshots__/demo.test.js.snap

3
components/calendar/__tests__/__snapshots__/demo.test.js.snap

@ -473,6 +473,7 @@ exports[`test renders ./components/calendar/demo/basic.md correctly 1`] = `
</td> </td>
</tr> </tr>
<tr <tr
class="ant-fullcalendar-current-week"
role="row"> role="row">
<td <td
class="ant-fullcalendar-cell" class="ant-fullcalendar-cell"
@ -1259,6 +1260,7 @@ exports[`test renders ./components/calendar/demo/card.md correctly 1`] = `
</td> </td>
</tr> </tr>
<tr <tr
class="ant-fullcalendar-current-week"
role="row"> role="row">
<td <td
class="ant-fullcalendar-cell" class="ant-fullcalendar-cell"
@ -2187,6 +2189,7 @@ exports[`test renders ./components/calendar/demo/notice-calendar.md correctly 1`
</td> </td>
</tr> </tr>
<tr <tr
class="ant-fullcalendar-current-week"
role="row"> role="row">
<td <td
class="ant-fullcalendar-cell" class="ant-fullcalendar-cell"

1
components/locale-provider/__tests__/__snapshots__/demo.test.js.snap

@ -835,6 +835,7 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
</td> </td>
</tr> </tr>
<tr <tr
class="ant-fullcalendar-current-week"
role="row"> role="row">
<td <td
class="ant-fullcalendar-cell" class="ant-fullcalendar-cell"

24
components/table/__tests__/__snapshots__/demo.test.js.snap

@ -3792,10 +3792,10 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</table> </table>
</div> </div>
<div <div
class="ant-table-body-outer" class="ant-table-body-outer">
style="height:300px;">
<div <div
class="ant-table-body-inner"> class="ant-table-body-inner"
style="max-height:300px;overflow-y:scroll;">
<table <table
class="ant-table-fixed"> class="ant-table-fixed">
<colgroup> <colgroup>
@ -3975,10 +3975,10 @@ exports[`test renders ./components/table/demo/fixed-columns-header.md correctly
</table> </table>
</div> </div>
<div <div
class="ant-table-body-outer" class="ant-table-body-outer">
style="height:300px;">
<div <div
class="ant-table-body-inner"> class="ant-table-body-inner"
style="max-height:300px;overflow-y:scroll;">
<table <table
class="ant-table-fixed"> class="ant-table-fixed">
<colgroup> <colgroup>
@ -5749,10 +5749,10 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</table> </table>
</div> </div>
<div <div
class="ant-table-body-outer" class="ant-table-body-outer">
style="height:240px;">
<div <div
class="ant-table-body-inner"> class="ant-table-body-inner"
style="max-height:240px;overflow-y:scroll;">
<table <table
class="ant-table-fixed"> class="ant-table-fixed">
<colgroup> <colgroup>
@ -5891,10 +5891,10 @@ exports[`test renders ./components/table/demo/grouping-columns.md correctly 1`]
</table> </table>
</div> </div>
<div <div
class="ant-table-body-outer" class="ant-table-body-outer">
style="height:240px;">
<div <div
class="ant-table-body-inner"> class="ant-table-body-inner"
style="max-height:240px;overflow-y:scroll;">
<table <table
class="ant-table-fixed"> class="ant-table-fixed">
<colgroup> <colgroup>

Loading…
Cancel
Save