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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://jestjs.io/docs/en/mock-functions.html does not document ES6 imports. #40

Open
XifeiNi opened this issue Oct 1, 2020 · 0 comments

Comments

@XifeiNi
Copy link

XifeiNi commented Oct 1, 2020

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 Reproduce
Goto https://jestjs.io/docs/en/mock-functions.html

Expected behavior

Documentation on how to mock a function using ES6 import syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant