Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jest from 27.5.1 to 29.3.1 #1702

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2022

Bumps jest from 27.5.1 to 29.3.1.

Release notes

Sourced from jest's releases.

v29.3.1

Fixes

  • [jest-config] Do not warn about preset in ProjectConfig #13583

Performance

  • [jest-transform] Defer creation of cache directory #13420

v29.3.0

Features

  • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

Fixes

  • [jest-config] Add config validation for projects option (#13565)
  • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
  • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

Chore & Maintenance

  • [@jest/transform] Update convert-source-map (#13509)
  • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

New Contributors

Full Changelog: jestjs/jest@v29.2.2...v29.3.0

v29.2.2

Fixes

  • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
  • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
  • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
  • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

Chore & Maintenance

  • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
  • [jest-runner, jest-watcher] Update emittery (#13490)

New Contributors

... (truncated)

Changelog

Sourced from jest's changelog.

29.3.1

Fixes

  • [jest-config] Do not warn about preset in ProjectConfig #13583

Performance

  • [jest-transform] Defer creation of cache directory #13420

29.3.0

Features

  • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

Fixes

  • [jest-config] Add config validation for projects option (#13565)
  • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
  • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

Chore & Maintenance

  • [@jest/transform] Update convert-source-map (#13509)
  • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

29.2.2

Fixes

  • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
  • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
  • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
  • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

Chore & Maintenance

  • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
  • [jest-runner, jest-watcher] Update emittery (#13490)

29.2.1

Features

  • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

Fixes

  • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 14, 2022
@xt0rted xt0rted changed the title build(deps-dev): Bump jest from 27.5.1 to 29.3.1 Bump jest from 27.5.1 to 29.3.1 Nov 14, 2022
import fetchMock from 'jest-fetch-mock';

jest.mock('path');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stefanbuck I couldn't get this to work with esm. I'm not sure if it doesn't work at all, or if there's a different way of doing it now. The way I got the test to pass was to use the posix version of join directly.

testPathIgnorePatterns: ['<rootDir>/e2e/'],
setupFiles: ['<rootDir>/_jestsetup.js'],
moduleNameMapper: {
'\\.css$': '<rootDir>/__mocks__/styleMock.js',
'\\.css$': 'identity-obj-proxy',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old setup wasn't working and this is what they had in the docs for doing css imports.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 30, 2023

A newer version of jest exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

None yet

1 participant