mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-06 18:33:10 +03:00
Add a cleanup to tests
This commit is contained in:
parent
240de70026
commit
aa9cf8ef17
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user