jest-community / vscode-jest

The optimal flow for Jest based testing in VS Code
MIT License
2.83k stars 291 forks source link

Feature request - Formatted snapshot #387

Open nishant-labs opened 6 years ago

nishant-labs commented 6 years ago

First of all thanks for this great extension.

I am requesting a feature which will format snapshot in the viewer with syntax highlighting.

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

aleclarson commented 5 years ago

I would also like to see inline, formatted snapshots. I doubt this will be added without outside contribution, though.

aleclarson commented 5 years ago

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.