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

build(deps-dev): Bump jest from 26.6.3 to 27.2.5 in /visualization #2440

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2021

Bumps jest from 26.6.3 to 27.2.5.

Release notes

Sourced from jest's releases.

v27.2.5

Features

  • [jest-config] Warn when multiple Jest configs are located (#11922)

Fixes

  • [expect] Pass matcher context to asymmetric matchers (#11926 & #11930)
  • [expect] Improve TypeScript types (#11931)
  • [expect] Improve typings of toThrow() and toThrowError() matchers (#11929)
  • [jest-cli] Improve --help printout by removing defunct --browser option (#11914)
  • [jest-haste-map] Use distinct cache paths for different values of computeDependencies (#11916)
  • [@jest/reporters] Do not buffer console.logs when using verbose reporter (#11054)

Chore & Maintenance

  • [expect] Export default matchers (#11932)
  • [@jest/types] Mark deprecated configuration options as @deprecated (#11913)

New Contributors

Full Changelog: jestjs/jest@v27.2.4...v27.2.5

27.2.4

Features

  • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#11805)

Fixes

  • [jest-snapshot] Correctly indent inline snapshots (#11560)

27.2.3

Features

  • [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#11879)

Fixes

  • [jest-config] Parse testEnvironmentOptions if received from CLI (#11902)
  • [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#11896)

27.2.2

Fixes

  • [jest-runtime] Correct wrapperLength value for ESM modules. (#11893)

... (truncated)

Changelog

Sourced from jest's changelog.

27.2.5

Features

  • [jest-config] Warn when multiple Jest configs are located (#11922)

Fixes

  • [expect] Pass matcher context to asymmetric matchers (#11926 & #11930)
  • [expect] Improve TypeScript types (#11931)
  • [expect] Improve typings of toThrow() and toThrowError() matchers (#11929)
  • [jest-cli] Improve --help printout by removing defunct --browser option (#11914)
  • [jest-haste-map] Use distinct cache paths for different values of computeDependencies (#11916)
  • [@jest/reporters] Do not buffer console.logs when using verbose reporter (#11054)

Chore & Maintenance

  • [expect] Export default matchers (#11932)
  • [@jest/types] Mark deprecated configuration options as @deprecated (#11913)

Performance

27.2.4

Features

  • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#11805)

Fixes

  • [jest-snapshot] Correctly indent inline snapshots (#11560)

27.2.3

Features

  • [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#11879)

Fixes

  • [jest-config] Parse testEnvironmentOptions if received from CLI (#11902)
  • [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#11896)

27.2.2

Fixes

  • [jest-runtime] Correct wrapperLength value for ESM modules. (#11893)

27.2.1

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.2.5.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v26.6.3...v27.2.5)

---
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. Usually created by Dependabot. labels Oct 8, 2021
@sonarcloud
Copy link

sonarcloud bot commented Oct 19, 2021

[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jannikr
Copy link
Contributor

jannikr commented Oct 19, 2021

After the update there is the following error:
TypeError: Jest: a transform must export something.

I think it has something to do with the transform key in jest.config.json. However, when dependencies are updated, other Jest specific packages are negatively affected. @ce-bo Have we considered doing unit tests with Cypress in the future? Then we could skip this update for now.

@ce-bo
Copy link
Collaborator

ce-bo commented Oct 21, 2021

Did you found this Bug Issue in Jests GitHub? kulshekhar/ts-jest#2612
I am not sure what the root cause is but I think we could try to upgrade manually. By the way, it is necessary to upgrade ts-jest package as well.

I read this interesting article about the breaking changes: https://jestjs.io/blog/2021/05/25/jest-27
We also use test environment jsdom. In Jest 27 the new default is node. We should check, if we can switch to node and benefit from performance improvements.

@ce-bo
Copy link
Collaborator

ce-bo commented Nov 3, 2021

@types/jest-environment-puppeteer requries jest-environment-node in version 26:
image

And jest-environment-node requires jest/types and some other jest libraries in version 26 also. At the end jest v26 is in use, I think.
image

Updating @types/jest-environment-puppeteer will not work, because v4.4.1 is the latest one. No new version is available to support jest 27.

Let's close for now. Renovate will trigger a new Major Update, so that we can have another look later on.

@ce-bo ce-bo closed this Nov 3, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 3, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/visualization/jest-27.2.5 branch November 3, 2021 09:26
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. Usually created by Dependabot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants