when testing in ember, (whether you use qunit or vitest) this is done for you ๐
This is such a silly mistake and yet I see you making it all the time in your tests. โ Do NOT run cleanup after assertions โ Schedule the cleanup via hooks or use Disposable Objects A seemingly tiny change that'll have tremendous impact on your tests, especially memory-wise.
0 reposts5 likes