We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no information on how to submit documentation bugs, so I assume it is classified as a bug.
The "mocking functions" page at https://jestjs.io/docs/en/mock-functions.html
does not document an example using ES6 imports like this:
import { foo } from 'bar'; ### To Reproduce Goto https://jestjs.io/docs/en/mock-functions.html
import { foo } from 'bar';
Documentation on how to mock a function using ES6 import syntax.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is no information on how to submit documentation bugs, so I assume it is classified as a bug.
🐛 Bug Report
The "mocking functions" page at https://jestjs.io/docs/en/mock-functions.html
does not document an example using ES6 imports like this:
import { foo } from 'bar';
### To ReproduceGoto https://jestjs.io/docs/en/mock-functions.html
Expected behavior
Documentation on how to mock a function using ES6 import syntax.
The text was updated successfully, but these errors were encountered: