chore: configure jest for ESM dependency compatibility#289
chore: configure jest for ESM dependency compatibility#289
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
Smoke Test ResultsLast 2 Merged PRs:
Test Results:
Status: PASS cc: @Mossaka
|
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation... |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident... |
✅ Coverage Check PassedOverall Coverage
Coverage comparison generated by |
Smoke Test ResultsLast 2 merged PRs:
Test Results:
Status: PASS
|
|
Closing PR to reduce backlog. Created issue #421 to track this work. Will fix it later. |
Dependency PRs (chalk 5.x, execa 9.x, commander 14.x, etc.) are failing CI because Jest cannot parse ESM-only packages. This PR adds ESM support to the Jest configuration.
Changes
transformIgnorePatternsto transform chalk and babel-jest for JS files@babel/core,@babel/preset-env,babel-jestas dev dependenciesResult
Verified all 549 tests pass with both chalk 4.x and 5.x.
Note
PRs #280 and #283 have breaking API changes requiring source modifications—those cannot be fixed through configuration alone.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.