Skip to content

Align Jest devDependencies to v29, remove unused jest-environment-jsdom#584

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

Align Jest devDependencies to v29, remove unused jest-environment-jsdom#584
Copilot wants to merge 2 commits intofix-daily-refinement-db-path-12076064593165869744from
copilot/sub-pr-574-please-work

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 24, 2026

Root package.json mixed Jest v29 (jest) with Jest v30 internals (jest-environment-jsdom, jest-util), causing potential resolver/version skew in the lockfile.

Changes

  • Removed jest-environment-jsdom@^30.3.0 — unused at root; jest.config.js sets testEnvironment: 'node'. Frontend owns its own correctly-pinned jest-environment-jsdom@^29.7.0.
  • Downgraded jest-util ^30.3.0^29.7.0 — required peer dep for ts-jest; must be at top-level and aligned with jest@^29.7.0.

Before:

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

After:

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

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


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.


Summary by cubic

Refines database path handling in the daily refinement job and aligns Jest devDependencies to v29. Ensures correct resolution across environments (absolute and relative), fails fast on misconfig, removes unused jest-environment-jsdom, and sets jest-util to ^29.7.0.

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

Copilot AI changed the title [WIP] [WIP] Address feedback on database path fix in dailyrefinementjob Align Jest devDependencies to v29, remove unused jest-environment-jsdom Mar 24, 2026
Copilot AI requested a review from RohanExploit March 24, 2026 17:14
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