Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Jest Snapshot ViewerNew to Visual Studio Code? Get it now.
Jest Snapshot Viewer

Jest Snapshot Viewer

igress

|
2,656 installs
| (0) | Free
View snapshots generated by the test framework such as Jest
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

test-snapshot-viewer

This extension extracts the test name and snapshot (which is HTML markup of a component, for example snapshot of a react component) and displays them in a new tab. The snapshot file is a *.snap file generated by the jest when writing the snapshot tests.

Features

Open the snapshot file and (Ctrl+Shift+P or Cmd+Shift+P)> Snapshot: View Snapshot. A new tab will open with the rendered snapshot. The rendered snapshot has no styling.

Release Notes

0.0.1

Added command to create a new tab that displays the snapshot.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft