@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
8 lines (7 loc) • 314 B
TypeScript
import type { BaseSyntheticEvent } from 'react';
/** Builds base syntentic event stub, with prop values as inspected in RN runtime. */
type BaseEvent = Partial<BaseSyntheticEvent<object, unknown, unknown>> & {
isPersistent: () => boolean;
};
export declare function baseSyntheticEvent(): BaseEvent;
export {};