@@ -824,28 +824,28 @@ describe('pagerCount props', () => {
824824 return null ;
825825 }
826826 return element ;
827- }
827+ } ;
828828
829829 it ( 'pageCount is 2, total is 10, show 1 pager' , ( done ) => {
830830 ReactDOM . render (
831831 < Pagination total = { 10 } itemRender = { itemRender } pagerCount = { 2 } /> ,
832832 container ,
833- function ( ) {
833+ function ( ) {
834834 const pagers = TestUtils . scryRenderedDOMComponentsWithClass (
835835 this ,
836836 'rc-pagination-item'
837837 ) ;
838838 expect ( pagers . length ) . to . be ( 1 ) ;
839839 done ( ) ;
840840 }
841- )
841+ ) ;
842842 } ) ;
843843
844844 it ( 'pageCount is 2, total is 11, show 2 pager' , ( done ) => {
845845 ReactDOM . render (
846846 < Pagination total = { 11 } itemRender = { itemRender } pagerCount = { 2 } /> ,
847847 container ,
848- function ( ) {
848+ function ( ) {
849849 const pagers = TestUtils . scryRenderedDOMComponentsWithClass (
850850 this ,
851851 'rc-pagination-item'
@@ -860,7 +860,7 @@ describe('pagerCount props', () => {
860860 ReactDOM . render (
861861 < Pagination total = { 101 } itemRender = { itemRender } pagerCount = { 10 } /> ,
862862 container ,
863- function ( ) {
863+ function ( ) {
864864 const pagers = TestUtils . scryRenderedDOMComponentsWithClass (
865865 this ,
866866 'rc-pagination-item'
@@ -884,7 +884,7 @@ describe('pagerCount props', () => {
884884 }
885885 ) ;
886886 } ) ;
887- } )
887+ } ) ;
888888
889889 describe ( 'pagerCount is even' , ( ) => {
890890 it ( 'pageCount is even' , ( done ) => {
@@ -893,7 +893,7 @@ describe('pagerCount props', () => {
893893 ReactDOM . render (
894894 < Pagination total = { 500 } pagerCount = { 8 } /> ,
895895 container ,
896- function ( ) {
896+ function ( ) {
897897 const pagers = TestUtils . scryRenderedDOMComponentsWithClass (
898898 this ,
899899 'rc-pagination-item'
@@ -919,19 +919,19 @@ describe('pagerCount props', () => {
919919 } ) ;
920920
921921 it ( 'defaultCurrent is last page' , ( done ) => {
922- const container = document . createElement ( 'div' )
923- document . body . appendChild ( container )
922+ const container = document . createElement ( 'div' ) ;
923+ document . body . appendChild ( container ) ;
924924 ReactDOM . render (
925925 < Pagination total = { 500 } pagerCount = { 7 } defaultCurrent = { 50 } /> ,
926926 container ,
927- function ( ) {
927+ function ( ) {
928928 setTimeout ( ( ) => {
929929 const pagers = TestUtils . scryRenderedDOMComponentsWithClass (
930930 this ,
931931 'rc-pagination-item'
932932 ) ;
933933 expect ( pagers . length ) . to . be ( 8 ) ;
934-
934+
935935 const pager46 = TestUtils . findRenderedDOMComponentWithClass (
936936 this ,
937937 'rc-pagination-item-46'
0 commit comments