This repository was archived by the owner on Jul 30, 2018. It is now read-only.
This repository was archived by the owner on Jul 30, 2018. It is now read-only.
Compare non-plain objects in .expectRender() #32
Closed
Description
Enhancement
Because there are potentially properties in widgets that are not plain objects (e.g. registries) when comparing renders we need ways of representing the expected render without being able to get a reference to the non-plain object.
We can compare these "exotic" objects based that their .prototype
is strictly equal and not introspect the object further or descend into its properties. This would allow for specification of instances of these objects being present in the render.