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
When an array has a property, it never shows up in the console & that prop gets lost when the array gets stringified. That's fine, it's been this way in the JS world forever, but it makes it really hard to debug. I'm not sure about the best way to handle this, but I think if we got the same message that we get when we run AVA's internal tests, I'd be pretty happy (see example below).
Test Source
// in AVA's assert.jst.doesNotThrow(function(){varfirst=[1,2,3];first.foo='first';assert.deepEqual(first,[1,2,3]);});
Description
When an array has a property, it never shows up in the console & that prop gets lost when the array gets stringified. That's fine, it's been this way in the JS world forever, but it makes it really hard to debug. I'm not sure about the best way to handle this, but I think if we got the same
message
that we get when we run AVA's internal tests, I'd be pretty happy (see example below).Test Source
Error Message & Stack Trace
The text was updated successfully, but these errors were encountered: