x-dash icon indicating copy to clipboard operation
x-dash copied to clipboard

Create separate snapshot files for each component

Open i-like-robots opened this issue 7 years ago • 1 comments

Because all component shapshots are currently pushed into a single file I am worried that any changes to components not currently under test may not be caught as I suspect people may only look at the part of the diff related to their component.

i-like-robots avatar Sep 04 '18 11:09 i-like-robots

snapshot file paths are generated by the name of the test file that's generating them, and it's currently not configurable 😕 https://github.com/facebook/jest/issues/2676

apaleslimghost avatar Sep 04 '18 11:09 apaleslimghost