mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(tests): harmonize Jest package version to address test file matching (#26320)
This harmonizes the versions of Jest installed in Framework to address an issue reported in Stencil here: https://github.com/ionic-team/stencil/issues/3785 The issue is essentially that certain test commands, such as this one: ``` npx stencil test --spec --max-workers=2 src/utils/keyboard/test/ ``` will, at present, alternate between running the tests as expected and failing. Not good! The issue is caused by having different versions of `@jest/core`, on the one hand, and `jest` and `jest-cli` on the other. After updating `jest` and `jest-cli` to match the version of `@jest/core` (`27.5.1`) and the issue can no longer be reproduced.
This commit is contained in:
13978
core/package-lock.json
generated
13978
core/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -61,8 +61,8 @@
|
||||
"eslint-plugin-custom-rules": "file:custom-rules",
|
||||
"execa": "^5.0.0",
|
||||
"fs-extra": "^9.0.1",
|
||||
"jest": "^26.4.1",
|
||||
"jest-cli": "^26.4.1",
|
||||
"jest": "^27.5.1",
|
||||
"jest-cli": "^27.5.1",
|
||||
"pixelmatch": "4.0.2",
|
||||
"prettier": "^2.6.1",
|
||||
"puppeteer": "^10.4.0",
|
||||
|
Reference in New Issue
Block a user