Skip to content

Upgrading babel-jest 19 to 20

Breaking19.0.0 → 20.0.3Breaking6New20Changed3Fixed34Other15

BreakingUpgrade verdict

6 breaking changes.

  • On continuous integration, missing snapshots are not created automatically, so tests fail instead.
  • Deletes the `jest-file-exists` package.
  • Removes the `Config` type.
  • Jest no longer loads babel-polyfill automatically; only regenerator-runtime is loaded, which fixes a memory leak.
Top 3 of 6 that need code or config changes
Breaking6
Jest no longer writes new snapshots by default on CI.
Deletes the jest-file-exists package.
jest-file-exists
Removes the Config type.
Config
Replaces auto-loading of babel-polyfill with only regenerator-runtime, fixing a major memory leak.
babel-polyfillregenerator-runtime
Forks Jasmine 2.5 into Jest's own test runner and rewrites large parts of Jasmine.
Moves the typescript parser from jest-editor-support into a separate jest-test-typescript-parser package.
jest-editor-supportjest-test-typescript-parser