chore(lighthouse): need to rewrite some of these tests to remove the jest-fetch-mock dependency

This commit is contained in:
blam
2020-10-13 13:49:30 +02:00
parent 3857bd85de
commit d694fd5fee
4 changed files with 9 additions and 11 deletions
@@ -16,7 +16,6 @@
import React from 'react';
import { render } from '@testing-library/react';
import mockFetch from 'jest-fetch-mock';
import ProfileCatalog from './ProfileCatalog';
import { ThemeProvider } from '@material-ui/core';
import { lightTheme } from '@backstage/theme';
@@ -45,7 +44,6 @@ describe('ProfileCatalog', () => {
}),
],
]);
mockFetch.mockResponse(() => new Promise(() => {}));
const rendered = render(
<ThemeProvider theme={lightTheme}>
<ApiProvider apis={apis}>