-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
base: main
Are you sure you want to change the base?
Conversation
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>
import fetchMock from 'jest-fetch-mock'; | ||
|
||
jest.mock('path'); |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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.
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. |
Bumps jest from 27.5.1 to 29.3.1.
Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
05deb83
v29.3.184b8de9
v29.3.00a8edbe
v29.2.24551c0f
v29.2.1ee5b37a
v29.2.022322c9
refactor: use a single root tsconfig for type tests (#13358)3c31dd6
v29.1.2fd9cd90
v29.1.151f1030
v29.1.077f865d
v29.0.3You 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)