Unverified Commit c0986eed authored by Jesse Jafa's avatar Jesse Jafa Committed by GitHub

[examples] add @types/testing-library__jest-dom package (#44533)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

The https://www.npmjs.com/package/@testing-library/jest-dom is included
in the `with-jest` and `with-jest-babel` examples, but that package has
DT types which are not included and may cause TS errors. This PR adds
them
parent fae2f403
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
"@testing-library/react": "13.2.0", "@testing-library/react": "13.2.0",
"@testing-library/user-event": "14.2.0", "@testing-library/user-event": "14.2.0",
"@types/react": "18.0.9", "@types/react": "18.0.9",
"@types/testing-library__jest-dom": "5.14.5",
"babel-jest": "28.1.0", "babel-jest": "28.1.0",
"identity-obj-proxy": "3.0.0", "identity-obj-proxy": "3.0.0",
"jest": "28.1.0", "jest": "28.1.0",
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
"@testing-library/react": "13.2.0", "@testing-library/react": "13.2.0",
"@testing-library/user-event": "14.2.0", "@testing-library/user-event": "14.2.0",
"@types/react": "18.0.9", "@types/react": "18.0.9",
"@types/testing-library__jest-dom": "5.14.5",
"jest": "28.1.0", "jest": "28.1.0",
"jest-environment-jsdom": "28.1.0", "jest-environment-jsdom": "28.1.0",
"typescript": "4.6.4" "typescript": "4.6.4"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment