-
Notifications
You must be signed in to change notification settings - Fork 11
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 babel-jest from 24.9.0 to 27.2.1 #685
Conversation
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.9.0 to 27.2.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/v27.2.1/packages/babel-jest) --- updated-dependencies: - dependency-name: babel-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
This should ensure that things like `window` are defined
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.
This should be good to go.
@@ -1,3 +1,3 @@ | |||
module.exports = require('babel-jest').createTransformer({ | |||
module.exports = require('babel-jest').default.createTransformer({ |
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.
This fixes the original issue with createTransformer
not being found.
@@ -74,7 +74,7 @@ | |||
"fs-extra": "^7.0.1", | |||
"glob": "^7.1.2", | |||
"is-docker": "^1.1.0", | |||
"jest": "^24.7.1", | |||
"jest": "^27.2.1", |
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.
This fixes the next issue with cwd
not being found. jest
and babel-jest
need to be on the same version.
}, | ||
testEnvironment: 'jsdom', |
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.
This fixes the issue with window
not being defined. The default environment is node
, where things like window
don't exist.
Bumps babel-jest from 24.9.0 to 27.2.1.
Release notes
Sourced from babel-jest's releases.
... (truncated)
Changelog
Sourced from babel-jest's changelog.
... (truncated)
Commits
50862b4
v27.2.1b05635c
v27.2.0111198b
v27.1.15ef792e
v27.1.0d257d1c
v27.0.6dafa473
v27.0.57ca8a22
v27.0.22cb20e9
v27.0.1be16e47
v27.0.0e2eb9ae
v27.0.0-next.11Maintainer changes
This version was pushed to npm by simenb, a new releaser for babel-jest since your current version.
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)