@@ -2151,7 +2151,7 @@ describe('PopoverMenu V2', () => {
21512151 </ PressableWithFeedback >
21522152 </ PopoverMenu . Trigger > ,
21532153 ) ,
2154- ) . toThrow ( / < P o p o v e r M e n u \. T r i g g e r > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
2154+ ) . toThrow ( / P o p o v e r M e n u \. T r i g g e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
21552155 } ) ;
21562156
21572157 it ( 'throws when SecondaryInteractionTrigger is rendered outside Root' , ( ) => {
@@ -2166,15 +2166,15 @@ describe('PopoverMenu V2', () => {
21662166 </ PressableWithSecondaryInteraction >
21672167 </ PopoverMenu . SecondaryInteractionTrigger > ,
21682168 ) ,
2169- ) . toThrow ( / < P o p o v e r M e n u \. S e c o n d a r y I n t e r a c t i o n T r i g g e r > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
2169+ ) . toThrow ( / P o p o v e r M e n u \. S e c o n d a r y I n t e r a c t i o n T r i g g e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
21702170 } ) ;
21712171
21722172 it ( 'throws when useIsPopoverVisible is called outside Root' , ( ) => {
21732173 function CallVisibilityHook ( ) {
21742174 PopoverMenu . useIsPopoverVisible ( ) ;
21752175 return null ;
21762176 }
2177- expect ( ( ) => render ( < CallVisibilityHook /> ) ) . toThrow ( / u s e I s P o p o v e r V i s i b l e \( \) m u s t b e c a l l e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
2177+ expect ( ( ) => render ( < CallVisibilityHook /> ) ) . toThrow ( / u s e I s P o p o v e r V i s i b l e m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
21782178 } ) ;
21792179
21802180 it ( 'throws when Content is rendered outside Root' , ( ) => {
@@ -2187,7 +2187,7 @@ describe('PopoverMenu V2', () => {
21872187 />
21882188 </ PopoverMenu . Content > ,
21892189 ) ,
2190- ) . toThrow ( / < P o p o v e r M e n u \. C o n t e n t > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
2190+ ) . toThrow ( / P o p o v e r M e n u \. C o n t e n t m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
21912191 } ) ;
21922192
21932193 it ( 'throws when Item is rendered outside Content' , ( ) => {
@@ -2200,7 +2200,7 @@ describe('PopoverMenu V2', () => {
22002200 />
22012201 </ Harness > ,
22022202 ) ,
2203- ) . toThrow ( / < P o p o v e r M e n u \. I t e m > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2203+ ) . toThrow ( / P o p o v e r M e n u \. I t e m m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
22042204 } ) ;
22052205
22062206 it ( 'throws when Group is rendered outside Content' , ( ) => {
@@ -2212,7 +2212,7 @@ describe('PopoverMenu V2', () => {
22122212 </ PopoverMenu . Group >
22132213 </ Harness > ,
22142214 ) ,
2215- ) . toThrow ( / < P o p o v e r M e n u \. G r o u p > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2215+ ) . toThrow ( / P o p o v e r M e n u \. G r o u p m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
22162216 } ) ;
22172217
22182218 it ( 'throws when Sub is rendered outside Content' , ( ) => {
@@ -2224,7 +2224,7 @@ describe('PopoverMenu V2', () => {
22242224 </ PopoverMenu . Sub >
22252225 </ Harness > ,
22262226 ) ,
2227- ) . toThrow ( / < P o p o v e r M e n u \. S u b > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2227+ ) . toThrow ( / P o p o v e r M e n u \. S u b m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
22282228 } ) ;
22292229
22302230 it ( 'throws when Sub.Trigger is rendered outside Sub' , ( ) => {
@@ -2236,7 +2236,7 @@ describe('PopoverMenu V2', () => {
22362236 </ PopoverMenu . Content >
22372237 </ Harness > ,
22382238 ) ,
2239- ) . toThrow ( / < P o p o v e r M e n u \. S u b \. T r i g g e r > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
2239+ ) . toThrow ( / P o p o v e r M e n u \. S u b \. T r i g g e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
22402240 } ) ;
22412241
22422242 it ( 'throws when useSelectableRow is called outside Content' , ( ) => {
@@ -2250,7 +2250,7 @@ describe('PopoverMenu V2', () => {
22502250 < CallSelectableRowHook />
22512251 </ Harness > ,
22522252 ) ,
2253- ) . toThrow ( / u s e S e l e c t a b l e R o w \( \) m u s t b e c a l l e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2253+ ) . toThrow ( / u s e S e l e c t a b l e R o w m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
22542254 } ) ;
22552255
22562256 it ( 'throws when useClosePopover is called outside Content' , ( ) => {
@@ -2264,7 +2264,7 @@ describe('PopoverMenu V2', () => {
22642264 < CallClosePopoverHook />
22652265 </ Harness > ,
22662266 ) ,
2267- ) . toThrow ( / u s e C l o s e P o p o v e r \( \) m u s t b e c a l l e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2267+ ) . toThrow ( / u s e C l o s e P o p o v e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
22682268 } ) ;
22692269
22702270 it ( 'throws when useSubBackButton is called outside Sub' , ( ) => {
@@ -2280,7 +2280,7 @@ describe('PopoverMenu V2', () => {
22802280 </ PopoverMenu . Content >
22812281 </ Harness > ,
22822282 ) ,
2283- ) . toThrow ( / u s e S u b B a c k B u t t o n \( \) m u s t b e c a l l e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
2283+ ) . toThrow ( / u s e S u b B a c k B u t t o n m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
22842284 } ) ;
22852285
22862286 it ( 'throws when useSubTrigger is called outside Sub' , ( ) => {
@@ -2296,7 +2296,7 @@ describe('PopoverMenu V2', () => {
22962296 </ PopoverMenu . Content >
22972297 </ Harness > ,
22982298 ) ,
2299- ) . toThrow ( / u s e S u b T r i g g e r \( \) m u s t b e c a l l e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
2299+ ) . toThrow ( / u s e S u b T r i g g e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
23002300 } ) ;
23012301
23022302 it ( 'throws when Sub.Content is rendered outside Sub' , ( ) => {
@@ -2313,7 +2313,7 @@ describe('PopoverMenu V2', () => {
23132313 </ PopoverMenu . Content >
23142314 </ Harness > ,
23152315 ) ,
2316- ) . toThrow ( / < P o p o v e r M e n u \. S u b \. C o n t e n t > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
2316+ ) . toThrow ( / P o p o v e r M e n u \. S u b \. C o n t e n t m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
23172317 } ) ;
23182318
23192319 it ( 'throws when Header is rendered outside Content' , ( ) => {
@@ -2323,7 +2323,7 @@ describe('PopoverMenu V2', () => {
23232323 < PopoverMenu . Header > Title</ PopoverMenu . Header >
23242324 </ Harness > ,
23252325 ) ,
2326- ) . toThrow ( / < P o p o v e r M e n u \. H e a d e r > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2326+ ) . toThrow ( / P o p o v e r M e n u \. H e a d e r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
23272327 } ) ;
23282328
23292329 it ( 'throws when Label is rendered outside Content' , ( ) => {
@@ -2333,7 +2333,7 @@ describe('PopoverMenu V2', () => {
23332333 < PopoverMenu . Label text = "Label" />
23342334 </ Harness > ,
23352335 ) ,
2336- ) . toThrow ( / < P o p o v e r M e n u \. L a b e l > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2336+ ) . toThrow ( / P o p o v e r M e n u \. L a b e l m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
23372337 } ) ;
23382338
23392339 it ( 'throws when RadioItem is rendered outside Content' , ( ) => {
@@ -2346,7 +2346,7 @@ describe('PopoverMenu V2', () => {
23462346 />
23472347 </ Harness > ,
23482348 ) ,
2349- ) . toThrow ( / < P o p o v e r M e n u \. R a d i o I t e m > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2349+ ) . toThrow ( / P o p o v e r M e n u \. R a d i o I t e m m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
23502350 } ) ;
23512351
23522352 it ( 'throws when Separator is rendered outside Content' , ( ) => {
@@ -2356,7 +2356,7 @@ describe('PopoverMenu V2', () => {
23562356 < PopoverMenu . Separator />
23572357 </ Harness > ,
23582358 ) ,
2359- ) . toThrow ( / < P o p o v e r M e n u \. S e p a r a t o r > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
2359+ ) . toThrow ( / P o p o v e r M e n u \. S e p a r a t o r m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. C o n t e n t > / ) ;
23602360 } ) ;
23612361
23622362 it ( 'throws when Sub.BackButton is rendered outside Sub' , ( ) => {
@@ -2368,7 +2368,7 @@ describe('PopoverMenu V2', () => {
23682368 </ PopoverMenu . Content >
23692369 </ Harness > ,
23702370 ) ,
2371- ) . toThrow ( / < P o p o v e r M e n u \. S u b \. B a c k B u t t o n > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
2371+ ) . toThrow ( / P o p o v e r M e n u \. S u b \. B a c k B u t t o n m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. S u b > / ) ;
23722372 } ) ;
23732373
23742374 it ( 'throws when ScrollableContent is rendered outside Root' , ( ) => {
@@ -2381,7 +2381,7 @@ describe('PopoverMenu V2', () => {
23812381 />
23822382 </ PopoverMenu . ScrollableContent > ,
23832383 ) ,
2384- ) . toThrow ( / < P o p o v e r M e n u \. S c r o l l a b l e C o n t e n t > m u s t b e r e n d e r e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
2384+ ) . toThrow ( / P o p o v e r M e n u \. S c r o l l a b l e C o n t e n t m u s t b e u s e d i n s i d e < P o p o v e r M e n u \. R o o t > / ) ;
23852385 } ) ;
23862386 } ) ;
23872387
0 commit comments