@@ -47,7 +47,7 @@ describe('Table.resizable', () => {
4747 onColumnResizeComplete = { info => {
4848 setWidthMap ( prev => {
4949 const result = new Map ( prev ) ;
50- info . columnKeyWidths . forEach ( i => {
50+ info . columnWidths . forEach ( i => {
5151 result . set ( i . columnKey , i . width ) ;
5252 } ) ;
5353 return result ;
@@ -99,7 +99,7 @@ describe('Table.resizable', () => {
9999 expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
100100 columnKey : 'a' ,
101101 width : 500 ,
102- columnKeyWidths : [
102+ columnWidths : [
103103 { columnKey : 'a' , width : 500 } ,
104104 { columnKey : 'b' , width : 400 } ,
105105 ] ,
@@ -129,7 +129,7 @@ describe('Table.resizable', () => {
129129 onColumnResizeComplete = { info => {
130130 setWidthMap ( prev => {
131131 const result = new Map ( prev ) ;
132- info . columnKeyWidths . forEach ( i => {
132+ info . columnWidths . forEach ( i => {
133133 result . set ( i . columnKey , i . width ) ;
134134 } ) ;
135135 return result ;
@@ -183,7 +183,7 @@ describe('Table.resizable', () => {
183183 expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
184184 columnKey : 'a' ,
185185 width : 300 ,
186- columnKeyWidths : [
186+ columnWidths : [
187187 { columnKey : 'a' , width : 300 } ,
188188 { columnKey : 'b' , width : 500 } ,
189189 ] ,
@@ -212,7 +212,7 @@ describe('Table.resizable', () => {
212212 onColumnResizeComplete = { info => {
213213 setWidthMap ( prev => {
214214 const result = new Map ( prev ) ;
215- info . columnKeyWidths . forEach ( i => {
215+ info . columnWidths . forEach ( i => {
216216 result . set ( i . columnKey , i . width ) ;
217217 } ) ;
218218 return result ;
@@ -264,7 +264,7 @@ describe('Table.resizable', () => {
264264 expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
265265 columnKey : 'a' ,
266266 width : 400 ,
267- columnKeyWidths : [
267+ columnWidths : [
268268 { columnKey : 'a' , width : 400 } ,
269269 { columnKey : 'b' , width : 800 } ,
270270 ] ,
0 commit comments