-
Notifications
You must be signed in to change notification settings - Fork 31
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
chore: update peerdependency of jest to ^25.5.4 @W-7689277 #90
Changes from 2 commits
cfacb10
b38fd4e
4ed55d3
848157a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
"@lwc/jest-resolver": "7.0.0", | ||
"@lwc/jest-serializer": "7.0.0", | ||
"@lwc/jest-transformer": "7.0.0", | ||
"jest-environment-jsdom-fifteen": "^1.0.2" | ||
"jest-environment-jsdom-fifteen": "~1.0.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
}, | ||
"engines": { | ||
"node": ">=10" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,18 @@ | |
"@babel/plugin-transform-modules-commonjs": "7.9.0", | ||
"@babel/preset-typescript": "7.9.0", | ||
"@babel/template": "~7.8.6", | ||
"babel-plugin-transform-dynamic-import": "^2.1.0", | ||
"babel-preset-jest": "^25.4.0" | ||
"babel-plugin-transform-dynamic-import": "~2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@lwc/compiler": "*", | ||
"jest": ">= 24.9.0" | ||
"babel-preset-jest": "^25.5.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not certain if There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When we tested it, the Or maybe there's a more reliable way to get the |
||
"jest": "^25.5.4" | ||
}, | ||
"devDependencies": { | ||
"@lwc/jest-preset": "7.0.0", | ||
"@lwc/jest-resolver": "7.0.0", | ||
"@lwc/jest-serializer": "7.0.0" | ||
"@lwc/jest-serializer": "7.0.0", | ||
"babel-preset-jest": "^25.5.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding this as a devDependency here as the unit tests in @lwc/jest-transformer rely on this dependency. |
||
}, | ||
"engines": { | ||
"node": ">=10" | ||
|
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.
Only change is to use the right semver qualifier for dependency. The version in yarn.lock remains the same.