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

ECMA admonitions. #12495 #13296

Closed
wants to merge 1 commit into from

Conversation

paulreece
Copy link
Contributor

Summary

Test plan

@paulreece paulreece changed the title ECMA admonitions. ECMA admonitions. #12495 Sep 22, 2022
@@ -5,6 +5,9 @@ title: ECMAScript Modules

:::caution

Due to its experimental nature there are many bugs and missing features in Jest's implementation, both known and unknown. You should check out the [tracking issue](https://github.com/facebook/jest/issues/9430) and the [label](https://github.com/facebook/jest/labels/ES%20Modules) on the issue tracker for the latest status.
Copy link
Contributor

Choose a reason for hiding this comment

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

The addition is unnecessary. Everything is already mentioned in this caution block.

@@ -41,6 +45,12 @@ import.meta.jest.useFakeTimers();

// jest === import.meta.jest => true
```
:::note
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed as well. The recently added Module mocking in ESM section (below) replaced this node.

@paulreece
Copy link
Contributor Author

paulreece commented Sep 24, 2022

Should I just close this PR then? @mrazauskas

@mrazauskas
Copy link
Contributor

Yep. This page was reworked recently as well.

@paulreece paulreece closed this Sep 24, 2022
@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 Oct 25, 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