Browse Source

fix Table test snapshot

pull/25410/head
afc163 4 years ago
parent
commit
61eb92f8d2
  1. 6
      components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap
  2. 8
      components/table/__tests__/__snapshots__/demo.test.js.snap
  3. 2
      components/table/__tests__/__snapshots__/empty.test.js.snap

6
components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap

@ -18,7 +18,7 @@ exports[`Table.rowSelection fix expand on th left when selection column fixed on
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:903px;min-width:100%;table-layout:fixed"
@ -356,7 +356,7 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:903px;min-width:100%;table-layout:fixed"
@ -644,7 +644,7 @@ exports[`Table.rowSelection fix selection column on the left when any other colu
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:903px;min-width:100%;table-layout:fixed"

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

@ -5776,7 +5776,7 @@ exports[`renders ./components/table/demo/fixed-columns.md correctly 1`] = `
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:1300px;min-width:100%;table-layout:fixed"
@ -6218,7 +6218,7 @@ exports[`renders ./components/table/demo/fixed-columns-header.md correctly 1`] =
</div>
<div
class="ant-table-body"
style="overflow-x:scroll;overflow-y:scroll;max-height:300px"
style="overflow-x:auto;overflow-y:scroll;max-height:300px"
>
<table
style="width:1500px;min-width:100%;table-layout:fixed"
@ -8633,7 +8633,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = `
</div>
<div
class="ant-table-body"
style="overflow-x:scroll;overflow-y:scroll;max-height:240px"
style="overflow-x:auto;overflow-y:scroll;max-height:240px"
>
<table
style="width:calc(700px + 50%);min-width:100%;table-layout:fixed"
@ -15479,7 +15479,7 @@ Array [
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:2000px;min-width:100%;table-layout:fixed"

2
components/table/__tests__/__snapshots__/empty.test.js.snap

@ -247,7 +247,7 @@ exports[`Table renders empty table with fixed columns 1`] = `
>
<div
class="ant-table-content"
style="overflow-x:scroll;overflow-y:hidden"
style="overflow-x:auto;overflow-y:hidden"
>
<table
style="width:1px;min-width:100%;table-layout:fixed"

Loading…
Cancel
Save