@@ -83,9 +83,7 @@ describe('ConfirmEvalNameDialog', () => {
8383 /> ,
8484 ) ;
8585 expect ( screen . getByText ( / T h i s e v a l u a t i o n h a s 2 5 , 0 0 0 r e s u l t s / ) ) . toBeInTheDocument ( ) ;
86- expect (
87- screen . getByText ( / T h i s o p e r a t i o n m a y t a k e u p t o a m i n u t e ./ ) ,
88- ) . toBeInTheDocument ( ) ;
86+ expect ( screen . getByText ( / T h i s o p e r a t i o n m a y t a k e u p t o a m i n u t e ./ ) ) . toBeInTheDocument ( ) ;
8987 } ) ;
9088
9189 it ( 'shows warning alert for very large operations (>50K)' , ( ) => {
@@ -117,11 +115,7 @@ describe('ConfirmEvalNameDialog', () => {
117115
118116 it ( 'does not show warning when showSizeWarning is false' , ( ) => {
119117 render (
120- < ConfirmEvalNameDialog
121- { ...defaultProps }
122- showSizeWarning = { false }
123- itemCount = { 100000 }
124- /> ,
118+ < ConfirmEvalNameDialog { ...defaultProps } showSizeWarning = { false } itemCount = { 100000 } /> ,
125119 ) ;
126120 expect ( screen . queryByText ( / T h i s e v a l u a t i o n h a s / ) ) . not . toBeInTheDocument ( ) ;
127121 } ) ;
@@ -186,9 +180,7 @@ describe('ConfirmEvalNameDialog', () => {
186180 ) ;
187181 // Should show info alert, not warning
188182 expect ( screen . getByText ( / T h i s e v a l u a t i o n h a s 5 0 , 0 0 0 r e s u l t s / ) ) . toBeInTheDocument ( ) ;
189- expect (
190- screen . getByText ( / T h i s o p e r a t i o n m a y t a k e u p t o a m i n u t e ./ ) ,
191- ) . toBeInTheDocument ( ) ;
183+ expect ( screen . getByText ( / T h i s o p e r a t i o n m a y t a k e u p t o a m i n u t e ./ ) ) . toBeInTheDocument ( ) ;
192184 } ) ;
193185
194186 it ( 'handles itemCount of exactly 50001' , ( ) => {
@@ -202,9 +194,7 @@ describe('ConfirmEvalNameDialog', () => {
202194 ) ;
203195 // Should show warning alert
204196 expect ( screen . getByText ( / T h i s e v a l u a t i o n h a s 5 0 , 0 0 1 r e s u l t s / ) ) . toBeInTheDocument ( ) ;
205- expect (
206- screen . getByText ( / T h i s o p e r a t i o n m a y t a k e s e v e r a l m i n u t e s ./ ) ,
207- ) . toBeInTheDocument ( ) ;
197+ expect ( screen . getByText ( / T h i s o p e r a t i o n m a y t a k e s e v e r a l m i n u t e s ./ ) ) . toBeInTheDocument ( ) ;
208198 } ) ;
209199 } ) ;
210200
@@ -225,13 +215,7 @@ describe('ConfirmEvalNameDialog', () => {
225215 } ) ;
226216
227217 it ( 'uses default itemLabel when not provided' , ( ) => {
228- render (
229- < ConfirmEvalNameDialog
230- { ...defaultProps }
231- showSizeWarning = { true }
232- itemCount = { 25000 }
233- /> ,
234- ) ;
218+ render ( < ConfirmEvalNameDialog { ...defaultProps } showSizeWarning = { true } itemCount = { 25000 } /> ) ;
235219 expect ( screen . getByText ( / i t e m s / ) ) . toBeInTheDocument ( ) ;
236220 } ) ;
237221 } ) ;
0 commit comments