Skip to content

Upgrading babel-jest 20 to 21

Breaking20.0.3 → 21.2.0Breaking2Platform1Deprecated1New33Changed54Fixed58Other41

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • 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.
4 items need code or config changes

Drops babel-core.

Installs 116 packages in all (was 134).

Breaking2
Moves getType from jest-matcher-utils to a separate package.
getTypejest-matcher-utils
Replaces Jasmine with jest-circus.
Jasminejest-circus
Platform1
Makes babel-core a peer dependency for compatibility with Babel 7.
babel-core
Deprecated1
Deprecates the functional ignorePattern in jest-haste-map and uses it in the cache key.
jest-haste-mapignorePattern