Skip to content

Commit

Permalink
Update Jest to v29
Browse files Browse the repository at this point in the history
The current version of the package `uuid` doesn't work out of the box
with the new version of Jest, as described in
microsoft/accessibility-insights-web#5421 (comment).

I applied the fix using a `resolver`, as mentioned at the end of the
above link, from
microsoft/accessibility-insights-web@9ad4e61
  • Loading branch information
datenreisender committed Oct 28, 2022
1 parent f716c73 commit b8b2ca5
Show file tree
Hide file tree
Showing 5 changed files with 1,393 additions and 1,102 deletions.
12 changes: 12 additions & 0 deletions Changelog.md
Expand Up @@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 6.7.0 - 2022-10-28

### Changed

- Updated Jest from 27 to 29.

### Steps to upgrade when using this package

- The new version of Jest might require some changes, check
https://jestjs.io/docs/28.x/upgrading-to-jest28 and
https://jestjs.io/docs/upgrading-to-jest29 for this.

## 6.6.4 - 2022-10-10

### Changed
Expand Down
1 change: 1 addition & 0 deletions config/jest.config.js
Expand Up @@ -41,4 +41,5 @@ module.exports = (disabledMocks = []) => ({
transformIgnorePatterns: ['node_modules/(?!(pc-nrfconnect-shared)/)'],
setupFilesAfterEnv: [`${__dirname}/../test/setupTests.ts`],
snapshotSerializers: ['enzyme-to-json/serializer'],
resolver: `${__dirname}/../test/jestResolver.js`,
});

0 comments on commit b8b2ca5

Please sign in to comment.