Open novemberborn opened 7 years ago
When printing objects, only enumerable property names are printed. This seems reasonable. However, all property symbols are printed, whether they're enumerable or not.
As suggested by @caesarsol in https://github.com/avajs/pretty-format/pull/2#issuecomment-280309497.
I agree, if it doesn't affect assertion, it shouldn't be printed. They aren't enumerable, so it's kind of by definition that we shouldn't list them.
enumerable
When printing objects, only enumerable property names are printed. This seems reasonable. However, all property symbols are printed, whether they're enumerable or not.
As suggested by @caesarsol in https://github.com/avajs/pretty-format/pull/2#issuecomment-280309497.