-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
The v2.1.4 defines jest-environment-jsdom as prod dependency #2537
Labels
Comments
piotr-cz
changed the title
Installing v1.12.0 results in installing jest-environment-jsdom
The v2.1.4 defines jest-environment-jsdom as prod dependency
May 6, 2024
3 tasks
@piotr-cz thank you for notifying us. PR opened. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After upgrading
@redocly/cli
from 1.11.0 to 1.12.0 I've noticed lots of new dependencies.Turns out that these are pulled along with
jest-environment-jsdom
, which has been added as a dependency instead of devDependency here: https://github.com/Redocly/redoc/pull/2445/filesExpected behavior
Installing
@redocly/cli
orredoc
package in a project should not install dependencies related to tests such asjest
Minimal reproducible OpenAPI snippet(if possible)
Screenshots
Additional context
Jest Instructions for DOM manipulation testing: https://jestjs.io/docs/next/tutorial-jquery
The text was updated successfully, but these errors were encountered: