Used to uninstall all currently rendered components.
function cleanup(): void
Note that if you are using a testing framework that supports afterEach and it is injected into your testing environment (such as mocha, Jest, and Jasmine), will execute cleanup
in the afterEach hook by default. Otherwise, you will need to do manual cleanup after each test.
For example, if you use the ava test framework, then you need to use the test.after Each
hook like this.