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

an idea for a useful IDE plugin #3662

Closed
lstkz opened this issue May 26, 2017 · 3 comments
Closed

an idea for a useful IDE plugin #3662

lstkz opened this issue May 26, 2017 · 3 comments

Comments

@lstkz
Copy link
Contributor

lstkz commented May 26, 2017

During development, I always verify created snapshots manually. It's sometimes not easy to find them if the test suite contains many tests. Also, the order from test.js.snap doesn't match the order from the original test.

I don't think it's possible to solve this issue directly in jest, but I think it should be possible to provide plugins for popular IDEs (WebStorm, Sublime etc).

For the given code:

 expect(obj).toMatchSnapshot();

When you ctrl+click on toMatchSnapshot it would navigate to the correct snapshot or display some popup with the expected string.

Any thoughts?

@cpojer
Copy link
Member

cpojer commented May 26, 2017

Yes, feel free to build this. There is jest-editor-support in this repo and vscode-jest which you can extend to add this feature. We will not build this feature at this time, sorry.

@cpojer cpojer closed this as completed May 26, 2017
@orta
Copy link
Member

orta commented May 27, 2017 via email

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants