Repository navigation
chore(dynatrace): migrate to Jest 30 - #11987
Merged
hopehadfield merged 1 commit intoNov 9, 2026
Merged
hopehadfield merged 1 commit into
hopehadfield merged 1 commit into
Conversation
Add jest, @types/jest, @jest/environment-jsdom-abstract and jsdom 27 as workspace devDependencies so backstage-cli runs the tests on Jest 30. yarn added @types/jsdom alongside jsdom. The lockfile is deduped so the lockfile duplicates check passes. Refs backstage#7868 Signed-off-by: Aman Kumar <[email protected]>
hopehadfield
approved these changes
Nov 9, 2026
hopehadfield
left a comment
Contributor
There was a problem hiding this comment.
LGTM, thanks @armnkumar321-spec!
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey, I just made a Pull Request!
Part of #7868. Moves the
dynatraceworkspace tests from Jest 29 to Jest 30, following the steps in the issue.jest@^30,@types/jest@^30,@jest/environment-jsdom-abstract@^30andjsdom@^27to the workspace rootdevDependencies. Yarn added@types/jsdom@^27withjsdom, the same set as periskop, gcalendar and tech-radar.yarn dedupe: the Jest 30 tree left duplicate transitive versions thatverify-lockfile-duplicates.jsrejects. No@backstage/*versions changed.devDependenciesandyarn.lockchanged).Checked locally on Node 24 in
workspaces/dynatrace:./node_modules/.bin/backstage-cli repo test --version→0.36.7, and@backstage/cliresolvesjest30.5.2yarn tsc:fullpassesyarn test→ 7 suites, 15 tests pass (same counts as on Jest 29 before the change)yarn prettier:check,yarn build:knip-reports --ci,yarn build:api-reports:only --ci,yarn backstage-cli repo build --all,yarn backstage-cli repo lint,yarn fix --check/--check --publish, the lockfile-duplicates script andverify-changesets.jsall passPrepared with help from Claude Code.
✔️ Checklist
Signed-off-byline in the message. (more info)