Version 9 Migration - lipemat/js-boilerplate GitHub Wiki

Migration From Version 8 to Version 9

The primary focus of Version 9 was to remove included support for enzyme in favor of allowing applications to choose their own testing structure.

Enabling Enzyme in existing packages.

If you are not using Enzyme in your Jest tests, you may skip this section.

The following packages must be included in your local package.json.

  1. @wojtekmaj/enzyme-adapter-react-17": ^0.6.7,
  2. enzyme: ^3.11.0,
  3. enzyme-to-json: ^3.5.0,
  4. react-test-renderer: ^17.0.2,

React transition group is no longer included

If you are using React transition group you may include your own version of react-transition-group in your package.json.

For reference the internal package was react-transition-group: ^4.4.1

Internal packages with major version updates (unlikely to conflict).

  • If any are specified in your local package.json they must be updated to match.
  • If you are using configuration overrides you'll want to check the migration docs for the applicable package.
  1. babel-jest: ^29,
  2. jest": ^29,
  3. jest-cli: ^29,
  4. fork-ts-checker-webpack-plugin: ^7,