I was a bit surprised to see react-test-renderer not in the tree despite appearing in our package-lock. Why not use it if we have to download it anyhow?
For now, I'm just using snapshot tests, so any change to colors or external components will result in changes to the snapshots that must be manually reviewed.
A perhaps more useful set of tests would involve actually checking children of the root nodes.
I was a bit surprised to see
react-test-renderer
not in the tree despite appearing in our package-lock. Why not use it if we have to download it anyhow?For now, I'm just using snapshot tests, so any change to colors or external components will result in changes to the snapshots that must be manually reviewed.
A perhaps more useful set of tests would involve actually checking children of the root nodes.