diff --git a/superset-frontend/src/components/FlashProvider/FlashProvider.test.tsx b/superset-frontend/src/components/FlashProvider/FlashProvider.test.tsx
index c91c0a0a4b8..91d9be65246 100644
--- a/superset-frontend/src/components/FlashProvider/FlashProvider.test.tsx
+++ b/superset-frontend/src/components/FlashProvider/FlashProvider.test.tsx
@@ -16,8 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-import '@testing-library/jest-dom';
-import { render, screen } from '@testing-library/react';
+
+import { render, screen } from 'spec/helpers/testing-library';
import React from 'react';
import { Provider } from 'react-redux';
import { store } from 'src/views/store';
@@ -28,7 +28,7 @@ test('Rerendering correctly with default props', () => {
render(
- My Component
+ My Component
,
);
@@ -44,7 +44,7 @@ test('messages should only be inserted in the State when the component is mounte
const { rerender } = render(
- My Component
+ My Component
,
);
@@ -56,7 +56,7 @@ test('messages should only be inserted in the State when the component is mounte
rerender(
- My Component
+ My Component
,
);