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

Collect test files later #3953

Merged
merged 1 commit into from Jun 26, 2019
Merged

Commits on Jun 26, 2019

  1. Collect test files later

    This commit prepares improvements to the watch mode behavior. In the future
    we want Mocha in watch mode to pick up new test files. This requires
    that the test files are collected inside `watchRun` instead of before.
    
    To accomplish this change we rename `handleFiles` to `collectFiles` and
    move it to its own module. Instead of calling `collectFiles` in
    `lib/cli/run` and passing the files on to `watchRun` or `singleRun` we
    pass down the file collection parameters through `runMocha` and call
    `collectFiles` in both `watchRun` and `singleRun`.
    Thomas Scholtes committed Jun 26, 2019
    Copy the full SHA
    4a2ed2d View commit details
    Browse the repository at this point in the history