Skip to content

Commit c30b510

Browse files
leonardomendixiobuhov
authored andcommitted
test: add missing props to test utils
1 parent 428503d commit c30b510

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/pluggableWidgets/gallery-web/src/utils/test-utils.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ export function createMockGalleryContext(): GalleryRootScope {
5252
showPagingButtons: "always",
5353
pagingPosition: "bottom",
5454
showEmptyPlaceholder: "none",
55-
onClickTrigger: "single"
55+
onClickTrigger: "single",
56+
stateStorageType: "localStorage",
57+
storeFilters: false,
58+
storeSort: false
5659
};
5760

5861
// Create a proper gate provider and gate
@@ -66,7 +69,10 @@ export function createMockGalleryContext(): GalleryRootScope {
6669
pagination: "buttons",
6770
showPagingButtons: "always",
6871
showTotalCount: false,
69-
pageSize: 10
72+
pageSize: 10,
73+
stateStorageType: "localStorage",
74+
storeFilters: false,
75+
storeSort: false
7076
});
7177

7278
const mockSelectHelper = new SelectActionHandler("None", undefined);

0 commit comments

Comments
 (0)