As the number of snapshots builds it's becoming harder to find the images needed in the image-diff/baseline directory, prepending a snapshot tests name with the component name will sort images into their respective directories.
ie name: "accordion/expanded"
This could also be used further with more complex components;
ie name: "accordion/single/expanded"
💬 Description
rename all snapshot tests to prepend with a directory name, see image
Summary
As the number of snapshots builds it's becoming harder to find the images needed in the image-diff/baseline directory, prepending a snapshot tests name with the component name will sort images into their respective directories.
ie
name: "accordion/expanded"
This could also be used further with more complex components;
ie
name: "accordion/single/expanded"
💬 Description
rename all snapshot tests to prepend with a directory name, see image