When writing component tests, it is important to clean up after each test to maintain test isolation. If you don’t do this you may have a situations where whatever your other test did, is still in a DOM and your test breaks even though it is correct. You can add it afterEach hook within setup files so you don’t have to remember about it.