You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@binoy14 I would probably mock window.addEventListener and window.removeEventListener and then assert that they've been called at the correct point and the correct number of times
It's probably hard to test the actual core feature of
react-perimeter
, but there are a few things we can definitely test:ref
correctly with render callbacksonBreach
is called ifonce
istrue
I'd like to use
jest
andenzyme
for this.The text was updated successfully, but these errors were encountered: