vscode-jest
vscode-jest copied to clipboard
Feature request - Formatted snapshot
First of all thanks for this great extension.
I am requesting a feature which will format snapshot in the viewer with syntax highlighting.
- HTML snapshot as an HTML page design(if possible use client CSS or just raw formatted HTML)
- JSON snapshot as a JSON file format
- Raw component snapshot - output of
expect(renderedComponent).toMatchSnapshot();
This will benefit user in terms of readability of snapshot and provide realistic vew of what component is going to look (in case of html snapshot with CSS it will be like magic 😄)
We may add other snapshot variations...
Thanks for considering 🤞 Nishant Kumar Sinha
I would also like to see inline, formatted snapshots. I doubt this will be added without outside contribution, though.
Oh wow, check this out: https://marketplace.visualstudio.com/items?itemName=asvetliakov.snapshot-tools
Apparently https://github.com/asvetliakov/typescript-snapshots-plugin is the successor to "Snapshot tools". This one plugs into Typescript instead of VSCode.
This issue has been inactive for over a year and has been marked as stale. It will be automatically closed in 30 days if no further activity occurs. Since significant changes have occurred in the codebase, please open a new issue with updated details if the problem still persists.