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
would throw an AssertionError but currently is doesn't and passes tests. Is this a bug or by design? Or maybe just accepted since they are both empty and an array is technically an object.
If this is acceptable behavior, what is the recommended way to test? Is it to test type then a second test for deepEqual?
The text was updated successfully, but these errors were encountered:
I was under the impressiong that
assert.deepEqual([], {})
would throw an AssertionError but currently is doesn't and passes tests. Is this a bug or by design? Or maybe just accepted since they are both empty and an array is technically an object.
If this is acceptable behavior, what is the recommended way to test? Is it to test type then a second test for deepEqual?
The text was updated successfully, but these errors were encountered: