MCPcopy Create free account
hub / github.com/dailydotdev/apps / press

Function press

packages/shared/src/components/dropdown/DropdownMenu.spec.tsx:104–105  ·  view source on GitHub ↗
(trigger: HTMLElement, pointerType: string)

Source from the content-addressed store, hash-verified

102const optionsButton = () => screen.getByRole('button', { name: 'Options' });
103
104const press = (trigger: HTMLElement, pointerType: string) =>
105 fireEvent.pointerDown(trigger, { pointerType, button: 0, ctrlKey: false });
106
107// Each option is a Radix item around its own button; the buttons are the
108// rows a finger or a keyboard reaches.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected