Skip to content

Commit 40325df

Browse files
committed
fix test
1 parent 15ffbaa commit 40325df

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

polaris-react/src/components/BulkActions/tests/BulkActions.test.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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

2022
const bulkActionProps: Props = {
@@ -28,6 +30,8 @@ const bulkActionProps: Props = {
2830
},
2931
],
3032
disabled: false,
33+
width: 500,
34+
isSticky: false,
3135
};
3236

3337
describe('<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

0 commit comments

Comments
 (0)