Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Add entry in the known issues section for problems with Jest. #51

Closed
wants to merge 1 commit into from

Conversation

janhesters
Copy link

As @kelset suggested in this issue, I created a pull request to the known issues section of changelog.md to mention the problems that currently exist with Jest.

@janhesters janhesters mentioned this pull request Oct 16, 2018
@kelset
Copy link
Member

kelset commented Oct 16, 2018

jest.mock() is broken

I'm having an hard time understanding why you say that mock is broken, the issue you link seems to suggest that it's only a local babel missconfiguration and not mock being broken.

Is there another issue with a repro that show that clarifies that jest.mock is broken for all 0.57.x projects? If not, can you create one that shows how it's not depending on the babel configuration of a specific project?

@janhesters janhesters closed this Oct 16, 2018
@janhesters
Copy link
Author

Okay, I'm sorry. You are right it seems to be some kind of misconfiguration. I created a new project and tried to reproduce the bug, but jest.mock() now works 🤷🏻‍♂️

Guess I'll have to migrate my old project into a freshly created one like that, because my .babelrc is the same verbatim in the freshly created project and the old one where jest.mock() does not work.

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

Successfully merging this pull request may close these issues.

2 participants