Releases: macku/jest-puppe-shots
Releases · macku/jest-puppe-shots
0.7.0 (2018-03-09)
0.6.0
Changelog
- Monorepo!
- Reduce jest config and use a Jest
"preset"
instead
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'
}