MCPcopy Index your code
hub / github.com/callstack/react-native-testing-library / setup

Function setup

src/user-event/setup/setup.ts:60–64  ·  view source on GitHub ↗
(options?: UserEventSetupOptions)

Source from the content-addressed store, hash-verified

58 * @returns UserEvent instance
59 */
60export function setup(options?: UserEventSetupOptions) {
61 const config = createConfig(options, setup);
62 const instance = createInstance(config);
63 return instance;
64}
65
66/**
67 * Options affecting all user event interactions.

Callers 2

index.tsFile · 0.90
setup.test.tsFile · 0.90

Calls 2

createConfigFunction · 0.85
createInstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…