Skip to content

fix: align Jest devDependencies to v29, remove unused jest-environment-jsdom#583

Draft
Copilot wants to merge 2 commits intofix-daily-refinement-db-path-12076064593165869744from
copilot/sub-pr-574-one-more-time
Draft

fix: align Jest devDependencies to v29, remove unused jest-environment-jsdom#583
Copilot wants to merge 2 commits intofix-daily-refinement-db-path-12076064593165869744from
copilot/sub-pr-574-one-more-time

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 24, 2026

package.json had a split-version Jest setup: jest@^29 alongside jest-environment-jsdom@^30 and jest-util@^30, causing resolver/version skew in the lockfile.

Description

  • Removed jest-environment-jsdom@^30.3.0 — never needed; jest config uses testEnvironment: 'node'
  • Downgraded jest-util from ^30.3.0^29.7.0 — required peer dep of ts-jest, now consistent with the rest of the Jest v29 stack (jest, @types/jest, ts-jest)

Before:

"jest": "^29.7.0",
"jest-environment-jsdom": "^30.3.0",
"jest-util": "^30.3.0",
"ts-jest": "^29.4.6"

After:

"jest": "^29.7.0",
"jest-util": "^29.7.0",
"ts-jest": "^29.4.6"

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🎨 Code style update (formatting, renaming)
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvement
  • ✅ Test update

Related Issue

Testing Done

  • Tested locally
  • Added/updated tests
  • All tests passing

Screenshots (if applicable)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Co-Authors


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Summary by cubic

Align Jest devDependencies to v29 and remove the unused jest-environment-jsdom. Set jest-util to ^29.7.0 to match jest@^29.7.0 and ts-jest@^29, keeping tests consistent.

Written for commit f1425cf. Summary will update on new commits.

…ment-jsdom

Co-authored-by: RohanExploit <178623867+RohanExploit@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RohanExploit/VishwaGuru/sessions/42df732b-665d-4d7d-969a-fc7706458eb3
Copilot AI changed the title [WIP] [WIP] Address feedback on database path fix in daily refinement job fix: align Jest devDependencies to v29, remove unused jest-environment-jsdom Mar 24, 2026
Copilot AI requested a review from RohanExploit March 24, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants