fix tests and delete some useless tests

This commit is contained in:
2021-09-20 18:04:48 +02:00
parent ab0eab5085
commit 70413ac887
10 changed files with 23 additions and 160 deletions

View File

@ -1,10 +0,0 @@
import {shallow} from 'enzyme';
import React from 'react';
import CategoryPage from './CategoryPage';
describe('<CategoryPage/>', function () {
it('renders without crashing ', function () {
const wrapper = shallow(<CategoryPage/>);
wrapper.unmount();
});
});

View File

@ -10,8 +10,6 @@ import TagView from './TagView';
const CategoryPage = (): JSX.Element => {
const match = useRouteMatch();
console.log(match.url);
return (
<Switch>
<Route exact path={`${match.url}/:id`}>