@nuskin/visual-regression-test-tools

Nu Skin tools for performing Visual Regression Testing

Usage no npm install needed!

<script type="module">
  import nuskinVisualRegressionTestTools from 'https://cdn.skypack.dev/@nuskin/visual-regression-test-tools';
</script>

README

NPM (Release) NPM (@develop)

Visual Regression Testing Tools

Tools for helping with visual regression testing.

Designed for use with Jest, Puppeteer, and jest-image-snapshot.

Included Tools

Installation

NPM:

npm install --save-dev @nuskin/visual-regression-test-tools

Yarn:

yarn add --dev @nuskin/visual-regression-test-tools

Depending on which features you use, you may need to install other dependencies.

Pre-release version

NPM:

npm install --save-dev @nuskin/visual-regression-test-tools@develop

Yarn:

yarn add --dev @nuskin/visual-regression-test-tools@develop

Use with Storybook

To add visual regression testing to a Storybook application, follow the directions to use @storybook/addon-storyshots and @storybook/addon-storyshots-puppeteer.