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

Fix #4347 | Ensure root level hooks are called when running in watch mode #4382

Merged
merged 1 commit into from Jul 29, 2020

Commits on Jul 26, 2020

  1. Ensure root level hooks are called when running in watch mode

    ## Rationale
    Tests with root level hooks are ignored when running in watch mode.
    This occurs on initial & subsequent runs.
    
    ## Changes
    
    - updated `lib/cli/run-watch` to re-initialise rootHooks
    
    As we have swapped out the root suite it is necessary to re-initialize
    root level hooks again.
    
    - Extended integration tests for watch to take into consideration
      hooks
    
    ## Refs
    
    - mochajs/issues/4347
    indieisaconcept committed Jul 26, 2020
    Copy the full SHA
    88fd011 View commit details
    Browse the repository at this point in the history