Commit 3682534
authored
docs: add jest-environment-jsdom package for Jest configuration (#36632)
## Documentation / Examples
- [ ] Make sure the linting passes by running `yarn lint`
Jest 28 does not include jest-environment-jsdom by default.
following guide & running jest without jest-environment-jsdom causes the following error:
<img width="1598" alt="image" src="https://user-images.githubusercontent.com/37980706/166319065-2bc29bb4-7d56-43e5-b85d-5a7484f17b1b.png">1 parent fec5318 commit 3682534
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments