-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
The React community seems to be moving towards colocating tests with components. I appreciate the changes to the default testRegex
that looks for any .test.js
file.
However, using this colocation method means a bunch of scattered __snapshots__
directories throughout the codebase. Since snapshots seem to be more for machine readability than human readability, I would tend to throw them all in a single top-level directory (like you might have for build/dist files). What are your thoughts on making the snapshots directory configurable?
JohannesKaufmann, twhid, monolithed, develar, ds300 and 50 more