@@ -38,10 +38,7 @@ describe('Map', () => {
3838 } ) ;
3939
4040 it ( 'Should call fitBounds with the right parameters' , ( ) => {
41- const fitBoundsValues : FitBounds = [
42- [ 0 , 1 ] ,
43- [ 2 , 3 ]
44- ] ;
41+ const fitBoundsValues : FitBounds = [ [ 0 , 1 ] , [ 2 , 3 ] ] ;
4542 const fitBoundsOptions = { linear : true } ;
4643 const MapboxMap = ReactMapboxGl ( {
4744 accessToken : '' ,
@@ -63,10 +60,7 @@ describe('Map', () => {
6360
6461 it ( 'Should update fitBounds if fitBoundsOptions changes' , ( ) => {
6562 const flyTo = jest . fn ( ) ;
66- const fitBoundsValues : FitBounds = [
67- [ 0 , 1 ] ,
68- [ 2 , 3 ]
69- ] ;
63+ const fitBoundsValues : FitBounds = [ [ 0 , 1 ] , [ 2 , 3 ] ] ;
7064 const fitBoundsOptions = { offset : [ 150 , 0 ] as [ number , number ] } ;
7165 const newFitBoundsOptions = { offset : [ 0 , 0 ] } ;
7266
@@ -92,10 +86,7 @@ describe('Map', () => {
9286 } ) ;
9387
9488 it . skip ( 'Should calc the center from fitbounds if center is not given' , ( ) => {
95- const fitBoundsValues : FitBounds = [
96- [ 0 , 3 ] ,
97- [ 2 , 9 ]
98- ] ;
89+ const fitBoundsValues : FitBounds = [ [ 0 , 3 ] , [ 2 , 9 ] ] ;
9990 const mockMap = getMock ( ) as any ;
10091 const MapboxMap = ReactMapboxGl ( { accessToken : '' , mapInstance : mockMap } ) ;
10192
@@ -136,10 +127,7 @@ describe('Map', () => {
136127
137128 it ( 'Should update maxBounds' , ( ) => {
138129 const flyTo = jest . fn ( ) ;
139- const maxBoundsProps = [
140- [ 1 , 0 ] ,
141- [ 0 , 1 ]
142- ] ;
130+ const maxBoundsProps = [ [ 1 , 0 ] , [ 0 , 1 ] ] ;
143131 const mockMaxBounds = jest . fn ( ) ;
144132
145133 const MapboxMap = ReactMapboxGl ( {
0 commit comments