@component-controls/jest-snapshots

Viewport plugin

Usage no npm install needed!

<script type="module">
  import componentControlsJestSnapshots from 'https://cdn.skypack.dev/@component-controls/jest-snapshots';
</script>

README

Table of contents

Overview

  • Easy to use cli with "zero" configuration.
  • More advanced level to customize the framework renderer.
  • Advanced level for full control over which stories to use for the tests.
  • Support for a variety of test rendderes starting with react-test-renderer, react-testing-library and enzyme.

Install

yarn add @component-controls/jest-snapshots --dev

API