Skip to content

Commit 56c6f86

Browse files
authored
Changed ComponentProps typing for amino (#3057)
1 parent 83ff9a6 commit 56c6f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testkit/new/Component.driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {within} from '@testing-library/react-native';
33

44
export interface ComponentProps {
55
renderTree: ReturnType<typeof within>; // Note: This changed was asked for integration with amino. This still gives all querying functionality.
6-
testID: string;
6+
testID: string | RegExp;
77
}
88

99
export interface ComponentDriverResult {

0 commit comments

Comments
 (0)