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: improve setupFilesAfterEnv documentation #12846

Merged
merged 2 commits into from
May 15, 2022
Merged

docs: improve setupFilesAfterEnv documentation #12846

merged 2 commits into from
May 15, 2022

Conversation

mrazauskas
Copy link
Contributor

Summary

This PR is extending / reworking the idea mentioned in #12702. It seems useful to mention that all Jest globals, jest object and expect are also available for setupFilesAfterEnv modules.

By the way, what about swapping the line on jasmine plug-ins with info on jest-extended?

Test plan

Lint is passing.

docs/Configuration.md Outdated Show resolved Hide resolved
website/versioned_docs/version-25.x/Configuration.md Outdated Show resolved Hide resolved
website/versioned_docs/version-26.x/Configuration.md Outdated Show resolved Hide resolved
website/versioned_docs/version-27.x/Configuration.md Outdated Show resolved Hide resolved
website/versioned_docs/version-28.0/Configuration.md Outdated Show resolved Hide resolved
website/versioned_docs/version-28.1/Configuration.md Outdated Show resolved Hide resolved
Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, great call! 👍

@SimenB SimenB merged commit 3f78547 into jestjs:main May 15, 2022
@mrazauskas mrazauskas deleted the docs-setupFilesAfterEnv branch May 15, 2022 08:31
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants