File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
polaris-react/src/components/BulkActions/tests Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ interface Props {
1515 bulkActions : BulkActionButtonProps [ 'content' ] [ ] ;
1616 promotedActions : NonNullable < BulkActionsProps [ 'promotedActions' ] > ;
1717 disabled : boolean ;
18+ width : number ;
19+ isSticky : boolean ;
1820}
1921
2022const bulkActionProps : Props = {
@@ -28,6 +30,8 @@ const bulkActionProps: Props = {
2830 } ,
2931 ] ,
3032 disabled : false ,
33+ width : 500 ,
34+ isSticky : false ,
3135} ;
3236
3337describe ( '<BulkActions />' , ( ) => {
@@ -177,6 +181,8 @@ describe('<BulkActions />', () => {
177181 } ,
178182 ] ,
179183 disabled : false ,
184+ width : 500 ,
185+ isSticky : false ,
180186 } ;
181187 const bulkActions = mountWithApp ( < BulkActions { ...bulkActionProps } /> ) ;
182188
@@ -217,6 +223,8 @@ describe('<BulkActions />', () => {
217223 } ,
218224 ] ,
219225 disabled : false ,
226+ width : 500 ,
227+ isSticky : false ,
220228 } ;
221229 const bulkActions = mountWithApp ( < BulkActions { ...bulkActionProps } /> ) ;
222230 const bulkActionButtons = bulkActions . findAll ( BulkActionButton ) ;
@@ -246,6 +254,8 @@ describe('<BulkActions />', () => {
246254 } ,
247255 ] ,
248256 disabled : false ,
257+ width : 500 ,
258+ isSticky : false ,
249259 } ;
250260 const bulkActions = mountWithApp ( < BulkActions { ...bulkActionProps } /> ) ;
251261
@@ -269,6 +279,8 @@ describe('<BulkActions />', () => {
269279 } ,
270280 ] ,
271281 disabled : false ,
282+ width : 500 ,
283+ isSticky : false ,
272284 } ;
273285 const bulkActions = mountWithApp ( < BulkActions { ...bulkActionProps } /> ) ;
274286
You can’t perform that action at this time.
0 commit comments