@@ -47,7 +47,7 @@ describe('Table.resizable', () => {
47
47
onColumnResizeComplete = { info => {
48
48
setWidthMap ( prev => {
49
49
const result = new Map ( prev ) ;
50
- info . columnKeyWidths . forEach ( i => {
50
+ info . columnWidths . forEach ( i => {
51
51
result . set ( i . columnKey , i . width ) ;
52
52
} ) ;
53
53
return result ;
@@ -99,7 +99,7 @@ describe('Table.resizable', () => {
99
99
expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
100
100
columnKey : 'a' ,
101
101
width : 500 ,
102
- columnKeyWidths : [
102
+ columnWidths : [
103
103
{ columnKey : 'a' , width : 500 } ,
104
104
{ columnKey : 'b' , width : 400 } ,
105
105
] ,
@@ -129,7 +129,7 @@ describe('Table.resizable', () => {
129
129
onColumnResizeComplete = { info => {
130
130
setWidthMap ( prev => {
131
131
const result = new Map ( prev ) ;
132
- info . columnKeyWidths . forEach ( i => {
132
+ info . columnWidths . forEach ( i => {
133
133
result . set ( i . columnKey , i . width ) ;
134
134
} ) ;
135
135
return result ;
@@ -183,7 +183,7 @@ describe('Table.resizable', () => {
183
183
expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
184
184
columnKey : 'a' ,
185
185
width : 300 ,
186
- columnKeyWidths : [
186
+ columnWidths : [
187
187
{ columnKey : 'a' , width : 300 } ,
188
188
{ columnKey : 'b' , width : 500 } ,
189
189
] ,
@@ -212,7 +212,7 @@ describe('Table.resizable', () => {
212
212
onColumnResizeComplete = { info => {
213
213
setWidthMap ( prev => {
214
214
const result = new Map ( prev ) ;
215
- info . columnKeyWidths . forEach ( i => {
215
+ info . columnWidths . forEach ( i => {
216
216
result . set ( i . columnKey , i . width ) ;
217
217
} ) ;
218
218
return result ;
@@ -264,7 +264,7 @@ describe('Table.resizable', () => {
264
264
expect ( onColumnResizeComplete ) . toHaveBeenCalledWith ( {
265
265
columnKey : 'a' ,
266
266
width : 400 ,
267
- columnKeyWidths : [
267
+ columnWidths : [
268
268
{ columnKey : 'a' , width : 400 } ,
269
269
{ columnKey : 'b' , width : 800 } ,
270
270
] ,
0 commit comments