Post

when testing in ember, (whether you use qunit or vitest) this is done for you ๐ŸŽ‰

Artem Zakharchenko@kettanaito.com

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

No replies yet.