kgabryje commented on code in PR #32207:
URL: https://github.com/apache/superset/pull/32207#discussion_r1949440806


##########
superset-frontend/packages/superset-ui-core/test/chart/components/ChartDataProvider.test.tsx:
##########
@@ -16,16 +16,15 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
-import { ReactNode } from 'react';
-import { shallow } from 'enzyme';
+import '@testing-library/jest-dom';
+import { render, screen, act } from '@testing-library/react';

Review Comment:
   Comment to this, and probably every other file - import from 
`spec/helpers/testing-library` and you won't need to import additional stuff 
like `'@testing-library/jest-dom'` 🙂 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to