|
1 | 1 | import { ClickActionHelper } from "@mendix/widget-plugin-grid/helpers/ClickActionHelper"; |
| 2 | +import { SelectionCounterViewModel } from "@mendix/widget-plugin-grid/main"; |
2 | 3 | import { MultiSelectionStatus, useSelectionHelper } from "@mendix/widget-plugin-grid/selection"; |
3 | | -import { SelectionCountStore } from "@mendix/widget-plugin-grid/selection/stores/SelectionCountStore"; |
4 | 4 | import { list, listWidget, objectItems, SelectionMultiValueBuilder } from "@mendix/widget-plugin-test-utils"; |
5 | 5 | import "@testing-library/jest-dom"; |
6 | 6 | import { cleanup, getAllByRole, getByRole, queryByRole, render, screen } from "@testing-library/react"; |
@@ -60,7 +60,7 @@ function withCtx( |
60 | 60 | cellEventsController: widgetProps.cellEventsController, |
61 | 61 | checkboxEventsController: widgetProps.checkboxEventsController, |
62 | 62 | focusController: widgetProps.focusController, |
63 | | - selectionCountStore: defaultSelectionCountStore as unknown as SelectionCountStore, |
| 63 | + selectionCountStore: defaultSelectionCountStore as unknown as SelectionCounterViewModel, |
64 | 64 | ...contextOverrides |
65 | 65 | }; |
66 | 66 |
|
@@ -489,7 +489,7 @@ describe.skip("Table", () => { |
489 | 489 | cellEventsController, |
490 | 490 | checkboxEventsController, |
491 | 491 | focusController: props.focusController, |
492 | | - selectionCountStore: {} as unknown as SelectionCountStore |
| 492 | + selectionCountStore: {} as unknown as SelectionCounterViewModel |
493 | 493 | }; |
494 | 494 |
|
495 | 495 | return ( |
|
0 commit comments