mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
fix: add container to TypeScript types (#582)
Update the TS types for the new `container` property that was added to the output of `render` in #567.
This commit is contained in:
Vendored
+1
@@ -303,6 +303,7 @@ export interface RenderAPI extends Queries {
|
||||
unmount(nextElement?: React.ReactElement<any>): void;
|
||||
toJSON(): ReactTestRendererJSON | null;
|
||||
debug(message?: string): void;
|
||||
container: ReactTestInstance;
|
||||
}
|
||||
|
||||
export type FireEventFunction = (
|
||||
|
||||
Reference in New Issue
Block a user