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
Another thing I'd love to see is removal of private services being printed on the element as it makes maintaining snapshots on any injection really annoying and adds nothing as far as I can think.
But since it's not publically available to the view then I'm not sure what it adds to show it on the host element.
Currently I do:
expect(fixture).toMatchSnapshot();
But maybe we should be doing (which removes the host element from the snapshot). The problem with this though is that if you do add things to the host, they won't get snapshotted/tested:
🚀 Feature Proposal
Currently all object props are serialized as Object, which do not have any sense with snapshots
Motivation
Real serializer will help to increase real coverage with tests
Example
child
parent
produce this snapshot
So instead of
current={[Function Object]}
I was hoping to see
current={ name: 'hero' }
The text was updated successfully, but these errors were encountered: