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 docs to detail resetModules: false behavior #6641

Merged
merged 1 commit into from
Jul 6, 2018

Commits on Jul 5, 2018

  1. Update docs to detail resetModules: false behavior

    The documentation at the moment describes the behavior of Jest when
    `resetModules` is set to `true`, but leaves the default/false case
    unclarified. I had a misconception that the module registry would not be
    reset at all in the false case, where it's still reset between different
    test files. This misconception was clarified by SimienB in issue jestjs#6007.
    
    The reporter of issue jestjs#4413 also had this question.
    
    This commit updates the documentation of `resetModules` to explain the
    default case more explicitly.
    gluxon committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    61d4433 View commit details
    Browse the repository at this point in the history