Add a cleanup to tests
This commit is contained in:
parent
240de70026
commit
aa9cf8ef17
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ import StarBorderIcon from '@material-ui/icons/StarBorder'
|
|||
import DynamicMenuIcon from './DynamicMenuIcon'
|
||||
|
||||
describe('<DynamicMenuIcon />', () => {
|
||||
afterEach(cleanup)
|
||||
|
||||
it('renders icon if no activeIcon is specified', () => {
|
||||
const history = createMemoryHistory()
|
||||
const route = '/test'
|
||||
|
|
|
|||
Loading…
Reference in a new issue