File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 8282 "testing-library/no-debugging-utils" : " off" ,
8383 "testing-library/no-dom-import" : " off" ,
8484 "testing-library/no-unnecessary-act" : " off" ,
85+ "testing-library/prefer-explicit-assert" : " off" ,
86+ "testing-library/prefer-find-by" : " off" ,
8587 "testing-library/prefer-user-event" : " off"
8688 }
8789 },
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ describe.each([
6161
6262 test ( 'waitFor' , async ( ) => {
6363 render ( < ComponentWithMacrotaskLoader /> )
64- // eslint-disable-next-line testing-library/prefer-find-by -- Sir, this is a test.
6564 await waitFor ( ( ) => screen . getByText ( / L o a d i n g ../ ) )
66- // eslint-disable-next-line testing-library/prefer-find-by -- Sir, this is a test.
6765 await waitFor ( ( ) => screen . getByText ( / L o a d e d t h i s m e s s a g e : / ) )
6866 expect ( screen . getByTestId ( 'message' ) ) . toHaveTextContent ( / H e l l o W o r l d / )
6967 } )
@@ -130,11 +128,9 @@ describe.each([
130128 test ( 'waitFor' , async ( ) => {
131129 render ( < ComponentWithMicrotaskLoader /> )
132130 await waitFor ( ( ) => {
133- // eslint-disable-next-line testing-library/prefer-explicit-assert -- Sir, this is a test.
134131 screen . getByText ( 'Loading..' )
135132 } )
136133 await waitFor ( ( ) => {
137- // eslint-disable-next-line testing-library/prefer-explicit-assert -- Sir, this is a test.
138134 screen . getByText ( / L o a d e d t h i s m e s s a g e : / )
139135 } )
140136 expect ( screen . getByTestId ( 'message' ) ) . toHaveTextContent ( / H e l l o W o r l d / )
You can’t perform that action at this time.
0 commit comments