npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

jest-puppe-shots-preset

0.7.0 • Public • Published

jest-puppe-shots-preset

NPM version node Build Status dependencies Status devDependencies Status peerDependencies Status

A Jest plugin for creating screenshots of React components with a little help of Puppeteer

How it works?

This is the Jest preset for the jest-puppe-shots package.

Check the README to get more information how to use the plugin.

Installation

You can install the plugin using NPM:

npm install jest-puppe-shots-preset --save-dev

or by Yarn:

yarn add jest-puppe-shots-preset --dev

Jest Configuration

Before starting using the jest-puppe-shots-preset you will need to change your Jest configuration file.

Open the jest.config.json file in your project and add additional entry:

{
  "preset": "jest-puppe-shots-preset"
}

If you are are using the jest.config.js file, then instead adjust your configuration like this:

module.exports = {
  // You config goes here
 
  preset: 'jest-puppe-shots-preset'
}

install

npm i jest-puppe-shots-preset

Downloadsweekly downloads

0

version

0.7.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability