snap-shot-it icon indicating copy to clipboard operation
snap-shot-it copied to clipboard

Don't put `__snapshots__` in project root

Open aaronjameslang opened this issue 7 years ago • 2 comments

No accounting for taste, but test data should be in /test or the project's equivalent

Ideally we'd detect the test directory from mocha/etc, but it could also be configurable

Would this change be welcome? Are there technical limitations an implementer should be aware of?

aaronjameslang avatar Jun 01 '18 04:06 aaronjameslang

This should definitely be a config value or something

kevzettler avatar Aug 31 '18 17:08 kevzettler

I tend to like the this directory to be stored in the same base directory as the test file in question. This is consistent with how Jest is configured as well I believe.

hexsprite avatar Sep 08 '18 20:09 hexsprite