snappyshot

Automatically generate snapshot tests for React components and vanilla JavaScript

Usage no npm install needed!

<script type="module">
  import snappyshot from 'https://cdn.skypack.dev/snappyshot';
</script>

README

Snappyshot

Automatically generate snapshot tests for React Components and Vanilla JavaScript

CLI

Install with npm install -g snappyshot

Use

snappyshot file.js snappyshot

(test will be created from the current working directory)