MCPcopy Create free account
hub / github.com/callstack/react-native-paper / getTrigger

Function getTrigger

src/components/__tests__/Tooltip.test.tsx:25–26  ·  view source on GitHub ↗
(getByText: (text: string) => ReactTestInstance)

Source from the content-addressed store, hash-verified

23
24describe('Tooltip', () => {
25 const getTrigger = (getByText: (text: string) => ReactTestInstance) =>
26 getByText('dummy component').parent as ReactTestInstance;
27
28 const runTimers = (ms?: number) => {
29 act(() => {

Callers 1

Tooltip.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…