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'
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.1
    0
    • beta
  • 0.7.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.7.0
    2
  • 0.6.0
    0
  • 0.5.1
    0
  • 0.5.0
    0

Package Sidebar

Install

npm i jest-puppe-shots-preset

Weekly Downloads

2

Version

0.7.0

License

MIT

Unpacked Size

4.66 kB

Total Files

4

Last publish

Collaborators

  • macku