Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to store snapshots next to test files #104

Open
krzkaczor opened this issue Jun 10, 2018 · 1 comment
Open

Option to store snapshots next to test files #104

krzkaczor opened this issue Jun 10, 2018 · 1 comment

Comments

@krzkaczor
Copy link

Feature request

Since snapshot source is often required to understand properly written test it would be cool to enable storing both close to each other.

I want to propose adding an option that would generate snapshot file next to a given test file.

@rohit-gohri
Copy link

If anyone comes here looking for this

We have created a fork and added this feature at https://github.com/smartprix/snap-shot-it
It creates __snapshots__ dir relative to test files. Read how to enable it here.
Published on npm as @smpx/snap-shot-it

Also opened a PR first at bahmutov/snap-shot-core#208 but I don't think this is being actively maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants