Skip to content

Commit 1925097

Browse files
committed
fix: downgrade @testing-library/jest-dom to version 5.17.0 and update type definitions in tsconfig
1 parent 83bdb6d commit 1925097

File tree

3 files changed

+70
-14
lines changed

3 files changed

+70
-14
lines changed

package-lock.json

Lines changed: 68 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"@storybook/test": "^8.6.14",
9090
"@storybook/test-runner": "^0.22.0",
9191
"@storybook/theming": "^8.6.14",
92-
"@testing-library/jest-dom": "^6.7.0",
92+
"@testing-library/jest-dom": "^5.17.0",
9393
"@testing-library/react": "^14.1.2",
9494
"@types/jest": "^30.0.0",
9595
"@types/lodash.isequal": "^4.5.8",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
// Need to specify typeRoots to find the types and types to constrain
1818
// where to look in @pega (to only get pcore-pconnect-typedefs)
1919
"typeRoots": ["node_modules/@types", "node_modules/@pega"],
20-
"types": ["jest", "pcore-pconnect-typedefs"]
20+
"types": ["jest", "@testing-library/jest-dom", "pcore-pconnect-typedefs"]
2121
}
2222
}

0 commit comments

Comments
 (0)