UNPKG

@testing-library/react-native

Version:

Simple and complete React Native testing utilities that encourage good testing practices.

6 lines (5 loc) 257 B
type CleanUpFunction = () => Promise<void> | void; export declare function cleanup(): Promise<void>; export declare function addToCleanupQueue(fn: CleanUpFunction): void; export declare function removeFromCleanupQueue(fn: CleanUpFunction): void; export {};