Skip to content

0.6.0

Compare
Choose a tag to compare
@macku macku released this 05 Mar 06:24
· 11 commits to master since this release
6575333

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