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
I have code that has linked lists. I have to test to see if that pointer points to this object. Just a simple === comparison. Instead, I've been using toEqual(), which is tedious, especially since there's some circular loops in my pointers. I would think there's a matcher for this simple situation, but I wasn't able to find any. What am I missing? Do I have to make a custom matcher?
The text was updated successfully, but these errors were encountered:
I have code that has linked lists. I have to test to see if that pointer points to this object. Just a simple === comparison. Instead, I've been using toEqual(), which is tedious, especially since there's some circular loops in my pointers. I would think there's a matcher for this simple situation, but I wasn't able to find any. What am I missing? Do I have to make a custom matcher?
The text was updated successfully, but these errors were encountered: