Add a cleanup to tests
This commit is contained in:
@@ -7,6 +7,8 @@ import StarBorderIcon from '@material-ui/icons/StarBorder'
|
|||||||
import DynamicMenuIcon from './DynamicMenuIcon'
|
import DynamicMenuIcon from './DynamicMenuIcon'
|
||||||
|
|
||||||
describe('<DynamicMenuIcon />', () => {
|
describe('<DynamicMenuIcon />', () => {
|
||||||
|
afterEach(cleanup)
|
||||||
|
|
||||||
it('renders icon if no activeIcon is specified', () => {
|
it('renders icon if no activeIcon is specified', () => {
|
||||||
const history = createMemoryHistory()
|
const history = createMemoryHistory()
|
||||||
const route = '/test'
|
const route = '/test'
|
||||||
|
|||||||
Reference in New Issue
Block a user