Skip to content

Commit

Permalink
feat(testing): update jest to v29.7.0 (#27301)
Browse files Browse the repository at this point in the history
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
  • Loading branch information
leosvelperez committed Aug 8, 2024
1 parent 76268b7 commit 6e8a3e5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
37 changes: 37 additions & 0 deletions packages/jest/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,43 @@
"alwaysAddToPackageJson": false
}
}
},
"19.6.0": {
"version": "19.6.0-beta.1",
"packages": {
"jest": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
},
"@types/jest": {
"version": "~29.5.12",
"alwaysAddToPackageJson": false
},
"expect": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
},
"@jest/globals": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
},
"jest-jasmine2": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
},
"jest-environment-jsdom": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
},
"ts-jest": {
"version": "~29.2.4",
"alwaysAddToPackageJson": false
},
"babel-jest": {
"version": "~29.7.0",
"alwaysAddToPackageJson": false
}
}
}
}
}
8 changes: 4 additions & 4 deletions packages/jest/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const nxVersion = require('../../package.json').version;
export const jestVersion = '^29.4.1';
export const babelJestVersion = '^29.4.1';
export const jestTypesVersion = '^29.4.0';
export const tsJestVersion = '^29.1.0';
export const jestVersion = '^29.7.0';
export const babelJestVersion = '^29.7.0';
export const jestTypesVersion = '^29.5.12';
export const tsJestVersion = '^29.2.4';
export const tslibVersion = '^2.3.0';
export const swcJestVersion = '~0.2.36';
export const typesNodeVersion = '18.16.9';
Expand Down

0 comments on commit 6e8a3e5

Please sign in to comment.