@@ -516,38 +516,38 @@ test('error message renders the element tree, preserving only helpful props', as
516516 const view = render ( < View accessibilityViewIsModal key = "this is filtered" /> ) ;
517517
518518 expect ( ( ) => view . getByText ( / f o o / ) ) . toThrowErrorMatchingInlineSnapshot ( `
519- "Unable to find an element with text: /foo/
519+ "Unable to find an element with text: /foo/
520520
521- <View
522- accessibilityViewIsModal={true}
523- />"
524- ` ) ;
521+ <View
522+ accessibilityViewIsModal={true}
523+ />"
524+ ` ) ;
525525
526526 expect ( ( ) => view . getAllByText ( / f o o / ) ) . toThrowErrorMatchingInlineSnapshot ( `
527- "Unable to find an element with text: /foo/
527+ "Unable to find an element with text: /foo/
528528
529- <View
530- accessibilityViewIsModal={true}
531- />"
532- ` ) ;
529+ <View
530+ accessibilityViewIsModal={true}
531+ />"
532+ ` ) ;
533533
534534 await expect ( view . findByText ( / f o o / ) ) . rejects
535535 . toThrowErrorMatchingInlineSnapshot ( `
536- "Unable to find an element with text: /foo/
536+ "Unable to find an element with text: /foo/
537537
538- <View
539- accessibilityViewIsModal={true}
540- />"
541- ` ) ;
538+ <View
539+ accessibilityViewIsModal={true}
540+ />"
541+ ` ) ;
542542
543543 await expect ( view . findAllByText ( / f o o / ) ) . rejects
544544 . toThrowErrorMatchingInlineSnapshot ( `
545- "Unable to find an element with text: /foo/
545+ "Unable to find an element with text: /foo/
546546
547- <View
548- accessibilityViewIsModal={true}
549- />"
550- ` ) ;
547+ <View
548+ accessibilityViewIsModal={true}
549+ />"
550+ ` ) ;
551551} ) ;
552552
553553test ( 'byText should return host component' , ( ) => {
0 commit comments