Add a test that the timer is removed after unmount?
Opened this issue Β· 1 comments
alexkrolick commented
Just a thought π. Probably want to test that no dangling intervals or timeouts are left behind after unmount.
donavon commented
good thought. looks like there is a jest.getTimerCount()
that I can use for just that purpose.
'cuz, ya know, you can't have too many tests for a 10 line package