diff --git a/plugins/catalog/src/components/AboutCard/AboutCard.test.tsx b/plugins/catalog/src/components/AboutCard/AboutCard.test.tsx
index 3038fc3c5c..ada827115d 100644
--- a/plugins/catalog/src/components/AboutCard/AboutCard.test.tsx
+++ b/plugins/catalog/src/components/AboutCard/AboutCard.test.tsx
@@ -14,8 +14,9 @@
* limitations under the License.
*/
-import React from 'react';
+import { EntityProvider } from '@backstage/plugin-catalog-react';
import { render } from '@testing-library/react';
+import React from 'react';
import { AboutCard } from './AboutCard';
describe(' GitHub', () => {
@@ -36,7 +37,11 @@ describe(' GitHub', () => {
lifecycle: 'production',
},
};
- const { getByText } = render();
+ const { getByText } = render(
+
+
+ ,
+ );
expect(getByText('service')).toBeInTheDocument();
expect(getByText('View Source').closest('a')).toHaveAttribute(
'href',
@@ -67,7 +72,11 @@ describe(' GitLab', () => {
lifecycle: 'production',
},
};
- const { getByText } = render();
+ const { getByText } = render(
+
+
+ ,
+ );
expect(getByText('service')).toBeInTheDocument();
expect(getByText('View Source').closest('a')).toHaveAttribute(
'href',
@@ -98,7 +107,11 @@ describe(' BitBucket', () => {
lifecycle: 'production',
},
};
- const { getByText } = render();
+ const { getByText } = render(
+
+
+ ,
+ );
expect(getByText('service')).toBeInTheDocument();
expect(getByText('View Source').closest('a')).toHaveAttribute(
'href',