x-dash
x-dash copied to clipboard
Create separate snapshot files for each component
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.
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