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

Update jest? #5

Open
Madalosso opened this issue Jul 28, 2016 · 0 comments
Open

Update jest? #5

Madalosso opened this issue Jul 28, 2016 · 0 comments

Comments

@Madalosso
Copy link

Hi, i would like to propose a example using a updated version of jest-cli.
If a dev tried to install the jest-cli today it will have a version that is not compatible with the example.

jest.unmock('../Foo');
import Foo from '../Foo';
those lines instead of
jest.dontMock
const Foo = required("../Foo");
did the trick on my updated Jest.

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