Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add jest-environment-jsdom package for Jest configuration #36632

Merged
merged 2 commits into from
May 3, 2022

Conversation

akrabdev
Copy link
Contributor

@akrabdev akrabdev commented May 2, 2022

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 cause the following error:

image

Jest 28 does not include jest-environment-jsdom by default
@kodiakhq kodiakhq bot merged commit 3682534 into vercel:canary May 3, 2022
kodiakhq bot pushed a commit that referenced this pull request May 12, 2022
Ref: #36842, #36632, #36787

Upgrading to Jest 28, and aligning Babel example with `with-jest`


## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants