Skip to content

Commit 923bf92

Browse files
committed
fix: resolve type issues
1 parent bd7e1d2 commit 923bf92

File tree

1 file changed

+3
-3
lines changed
  • packages/pluggableWidgets/datagrid-web/src/components/__tests__

1 file changed

+3
-3
lines changed

packages/pluggableWidgets/datagrid-web/src/components/__tests__/Table.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ClickActionHelper } from "@mendix/widget-plugin-grid/helpers/ClickActionHelper";
2+
import { SelectionCounterViewModel } from "@mendix/widget-plugin-grid/main";
23
import { MultiSelectionStatus, useSelectionHelper } from "@mendix/widget-plugin-grid/selection";
3-
import { SelectionCountStore } from "@mendix/widget-plugin-grid/selection/stores/SelectionCountStore";
44
import { list, listWidget, objectItems, SelectionMultiValueBuilder } from "@mendix/widget-plugin-test-utils";
55
import "@testing-library/jest-dom";
66
import { cleanup, getAllByRole, getByRole, queryByRole, render, screen } from "@testing-library/react";
@@ -60,7 +60,7 @@ function withCtx(
6060
cellEventsController: widgetProps.cellEventsController,
6161
checkboxEventsController: widgetProps.checkboxEventsController,
6262
focusController: widgetProps.focusController,
63-
selectionCountStore: defaultSelectionCountStore as unknown as SelectionCountStore,
63+
selectionCountStore: defaultSelectionCountStore as unknown as SelectionCounterViewModel,
6464
...contextOverrides
6565
};
6666

@@ -489,7 +489,7 @@ describe.skip("Table", () => {
489489
cellEventsController,
490490
checkboxEventsController,
491491
focusController: props.focusController,
492-
selectionCountStore: {} as unknown as SelectionCountStore
492+
selectionCountStore: {} as unknown as SelectionCounterViewModel
493493
};
494494

495495
return (

0 commit comments

Comments
 (0)