Upgrading babel-jest 20 to 21
Breaking20.0.3 → 21.2.0Breaking2Platform1Deprecated1New33Changed54Fixed58Other41
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- Moves getType from jest-matcher-utils to a separate package.
- Replaces Jasmine with jest-circus.
- You now need to install babel-core yourself instead of getting it automatically.
- Deprecates the functional ignorePattern in jest-haste-map and uses it in the cache key.
Must act 4 items need code or config changes
Drops babel-core.
Installs 116 packages in all (was 134).
What you must change
Breaking2
Moves getType from jest-matcher-utils to a separate package.
getTypejest-matcher-utilsReplaces Jasmine with jest-circus.
Jasminejest-circusPlatform1
Makes babel-core a peer dependency for compatibility with Babel 7.
babel-coreDeprecations to plan for
Deprecated1
Deprecates the functional ignorePattern in jest-haste-map and uses it in the cache key.
jest-haste-mapignorePattern