Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 12, 2023
1 parent afc4510 commit 82013ed
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ global.featureFlags = {

const setup = ({
onSelection = noOp,
displayedItems = [ContextMenuItem.All],
displayedItems = ContextMenuItem.All,
additionalConfig = {},
}: {
onSelection?: () => void;
displayedItems?: ContextMenuItem | ContextMenuItem[];
additionalConfig?: Record<string, any>;
} = {}) => {
const { result } = renderHook(() =>
useContextMenu(
Expand Down

0 comments on commit 82013ed

Please sign in to comment.