You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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: