File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ type FindReturn = Promise<ReactTestInstance>;
9
9
type FindAllReturn = Promise < ReactTestInstance [ ] > ;
10
10
11
11
type CommonQueryOptions = {
12
- hidden ?: boolean ,
13
12
includeHiddenElements ?: boolean ,
13
+ /** Alias to `includeHiddenElements` for RTL compatibility */
14
+ hidden ?: boolean ,
14
15
} ;
15
16
type TextMatch = string | RegExp ;
16
17
@@ -466,8 +467,9 @@ declare module '@testing-library/react-native' {
466
467
467
468
declare interface Config {
468
469
asyncUtilTimeout : number ;
469
- defaultHidden : boolean ;
470
470
defaultIncludeHiddenElements : boolean ;
471
+ /** Alias to `defaultIncludeHiddenElements` for RTL compatibility */
472
+ defaultHidden : boolean ;
471
473
defaultDebugOptions ?: $Shape < DebugOptions > ;
472
474
}
473
475
You can’t perform that action at this time.
0 commit comments