Jest Puppe Shots Versions Save

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

v0.7.0

6 years ago

Bugs

  • Fix running multiple tests when running without --runInBand mode. Start own HTTP sever for each test context.
  • Correct missing await keyword in Readme

v0.6.0

6 years ago

Changelog

Upgrade guide

Remove old hooks from your project configuration and use a "preset" instead:

jest.config.json: {

-  "testEnvironment": "jest-puppe-shots/lib/node-environment.js",
-  "globalSetup": "jest-puppe-shots/lib/global-setup.js",	
-  "globalTeardown": "jest-puppe-shots/lib/global-teardown.js"
+  "preset": "jest-puppe-shots-preset"
}

or

jest.config.js: {

-  testEnvironment: 'jest-puppe-shots/lib/node-environment.js',
-  globalSetup: 'jest-puppe-shots/lib/global-setup.js',	
-  globalTeardown: "jest-puppe-shots/lib/global-teardown.js'
+  preset: 'jest-puppe-shots-preset'
}