cerner / terra-toolkit

Terra Toolkit is a monorepo that contains utility modules for use when developing using Terra components
https://engineering.cerner.com/terra-toolkit
Apache License 2.0
32 stars 37 forks source link

Update jest-config-terra to support Jest 27 #829

Closed sycombs closed 9 months ago

sycombs commented 9 months ago

Summary

This PR updates jest-config-terra to support Jest 27 so that we can support Stylelint 15.

Testing

This change was tested using:

Testing by running tests on the terra-toolkit level, terra-toolkit package levels, and consuming in other terra repos.

Note: Due to build failures caused by errors during the Jest test run (despite all tests passing), have temporarily disabled the relevant test file. These tests will be re-enabled once the build issue is addressed. All tests pass locally, as shown below:

image

Reviews

In addition to engineering reviews, this PR needs:

Additional Details

This PR resolves:

UXPLATFORM-9537


Thank you for contributing to Terra. @cerner/terra

github-actions[bot] commented 9 months ago
Fails
:no_entry_sign: Please include a CHANGELOG entry for each changed package on this PR. Looks like a CHANGELOG entry is missing for: - duplicate-package-checker-webpack-plugin - package-json-lint - stylelint-config-terra - terra-aggregate-translations - terra-cli - terra-enzyme-intl - terra-functional-testing - terra-open-source-scripts - webpack-config-terra

Generated by :no_entry_sign: dangerJS against 4c63a8f760ef34c3dfd1e848c20642572137faa5

sycombs commented 9 months ago

Fails 🚫 Please include a CHANGELOG entry for each changed package on this PR. Looks like a CHANGELOG entry is missing for:

  • duplicate-package-checker-webpack-plugin
  • package-json-lint
  • stylelint-config-terra
  • terra-aggregate-translations
  • terra-cli
  • terra-enzyme-intl
  • terra-functional-testing
  • terra-open-source-scripts
  • webpack-config-terra

Generated by 🚫 dangerJS against 7721e61

The only packages in this PR that need a CHANGELOG entry are jest-config-terra and terra-toolkit-docs. The rest of these packages have minor devDependency changes (and for terra-functional-testing, updating the jest config) which do not impact consumers.