Remove unneeded router mocking
Signed-off-by: Julio Zynger <julio.zynger@soundcloud.com>
This commit is contained in:
-9
@@ -30,15 +30,6 @@ import { Analysis } from '../../api/types';
|
||||
import { ConfigReader } from '@backstage/config';
|
||||
import { configApiRef } from '@backstage/core-plugin-api';
|
||||
|
||||
jest.mock('react-router-dom', () => {
|
||||
return {
|
||||
...(jest.requireActual('react-router-dom') as any),
|
||||
useParams: () => ({
|
||||
projectId: 123,
|
||||
}),
|
||||
};
|
||||
});
|
||||
|
||||
describe('CodesceneProjectDetailsPage', () => {
|
||||
const server = setupServer();
|
||||
// Enable sane handlers for network requests
|
||||
|
||||
Reference in New Issue
Block a user