Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.6.0 source code.tar.gz | 2018-03-05 | 94.2 kB | |
0.6.0 source code.zip | 2018-03-05 | 109.2 kB | |
README.md | 2018-03-05 | 846 Bytes | |
Totals: 3 Items | 204.2 kB | 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
:
{
:::diff
- "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
:
{
:::diff
- 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'
}