Skip to content

Commit

Permalink
test: update snapshot for pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed May 17, 2017
1 parent f3c38d5 commit 0b332f0
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page"
>
Expand Down Expand Up @@ -109,6 +110,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="Next Page"
>
Expand Down Expand Up @@ -1537,6 +1539,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page"
>
Expand Down Expand Up @@ -1583,6 +1586,7 @@ exports[`renders ./components/locale-provider/demo/basic.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="Next Page"
>
Expand Down
22 changes: 22 additions & 0 deletions components/pagination/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -52,6 +53,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -66,6 +68,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="false"
class=" ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -126,6 +129,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand Down Expand Up @@ -176,6 +180,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="false"
class=" ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -222,6 +227,7 @@ exports[`renders ./components/pagination/demo/controlled.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -236,6 +242,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="false"
class=" ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -296,6 +303,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand Down Expand Up @@ -325,6 +333,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -371,6 +380,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -382,6 +392,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -428,6 +439,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand Down Expand Up @@ -490,6 +502,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
Total 50 items
</span>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -536,6 +549,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -551,6 +565,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="false"
class=" ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -625,6 +640,7 @@ exports[`renders ./components/pagination/demo/more.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -638,6 +654,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
class="ant-pagination ant-pagination-simple "
>
<li
aria-disabled="false"
class=" ant-pagination-prev"
title="上一页"
>
Expand All @@ -659,6 +676,7 @@ exports[`renders ./components/pagination/demo/simple.md correctly 1`] = `
5
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -679,6 +697,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
Total 85 items
</span>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -725,6 +744,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand All @@ -742,6 +762,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
1-20 of 85 items
</span>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand Down Expand Up @@ -788,6 +809,7 @@ exports[`renders ./components/pagination/demo/total.md correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="上一页"
>
Expand All @@ -99,6 +100,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
title="下一页"
>
Expand Down
Loading

0 comments on commit 0b332f0

Please sign in to comment.