remove last remnants of react-text-truncate from test mocks

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-05-15 13:04:54 +02:00
parent ea1e845f1d
commit e74c615bd6
3 changed files with 0 additions and 31 deletions
@@ -18,11 +18,6 @@ import React from 'react';
import { TechDocsSearchResultListItem } from './TechDocsSearchResultListItem';
import { renderInTestApp } from '@backstage/test-utils';
// Using canvas to render text..
jest.mock('react-text-truncate', () => {
return ({ text }: { text: string }) => <span>{text}</span>;
});
const validResult = {
location: 'https://backstage.io/docs',
title: 'Documentation',