@@ -16,8 +16,8 @@ const React = require('react');
1616
1717const ReactTestRenderer = require ( 'react-test-renderer' ) ;
1818const ShallowRenderer = require ( 'react-test-renderer/shallow' ) ;
19- /* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an error
20- * found when Flow v0.122.0 was deployed. To see the error, delete this comment
19+ /* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an error
20+ * found when Flow v0.125.1 was deployed. To see the error, delete this comment
2121 * and run Flow. */
2222const shallowRenderer = new ShallowRenderer ( ) ;
2323
@@ -28,8 +28,8 @@ export type ReactTestInstance = $PropertyType<ReactTestRendererType, 'root'>;
2828export type Predicate = ( node : ReactTestInstance ) => boolean ;
2929
3030type $ReturnType < Fn > = $Call << Ret , A > ( ( ...A ) => Ret ) => Ret , Fn > ;
31- /* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an error
32- * found when Flow v0.122.0 was deployed. To see the error, delete this comment
31+ /* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an error
32+ * found when Flow v0.125.1 was deployed. To see the error, delete this comment
3333 * and run Flow. */
3434export type ReactTestRendererJSON = $ReturnType < ReactTestRenderer . create . toJSON > ;
3535
@@ -56,12 +56,12 @@ function byClickable(): Predicate {
5656 // HACK: Find components that use `Pressability`.
5757 node . instance ?. state ?. pressability != null ||
5858 // TODO: Remove this after deleting `Touchable`.
59- /* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an
60- * error found when Flow v0.122.0 was deployed. To see the error, delete
59+ /* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an
60+ * error found when Flow v0.125.1 was deployed. To see the error, delete
6161 * this comment and run Flow. */
6262 ( node . instance &&
63- /* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses
64- * an error found when Flow v0.122.0 was deployed. To see the error,
63+ /* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses
64+ * an error found when Flow v0.125.1 was deployed. To see the error,
6565 * delete this comment and run Flow. */
6666 typeof node . instance . touchableHandlePress === 'function' ) ,
6767 'is clickable' ,
@@ -77,8 +77,8 @@ function byTestID(testID: string): Predicate {
7777
7878function byTextMatching ( regex : RegExp ) : Predicate {
7979 return withMessage (
80- /* $FlowFixMe(>=0.122.0 site=react_native_fb) This comment suppresses an
81- * error found when Flow v0.122.0 was deployed. To see the error, delete
80+ /* $FlowFixMe(>=0.125.1 site=react_native_fb) This comment suppresses an
81+ * error found when Flow v0.125.1 was deployed. To see the error, delete
8282 * this comment and run Flow. */
8383 node => node . props && regex . exec ( node . props . children ) ,
8484 `text content matches ${ regex . toString ( ) } ` ,
0 commit comments