fix tests and delete some useless tests
This commit is contained in:
@ -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();
|
||||
});
|
||||
});
|
@ -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`}>
|
||||
|
Reference in New Issue
Block a user