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

Add ability to unload files from require cache (redux) #3726

Merged
merged 7 commits into from Feb 14, 2019

Commits on Feb 13, 2019

  1. feat(lib/mocha.js): Add ability to unload files

    Implements `Mocha.unloadFile` and `Mocha.unloadFiles`.
    plroebuck committed Feb 13, 2019
    Copy the full SHA
    10fa3a1 View commit details
    Browse the repository at this point in the history
  2. refactor(lib/cli/run-helpers.js): Use Mocha.unloadFile

    Eat our own dog food.
    plroebuck committed Feb 13, 2019
    Copy the full SHA
    5ca5761 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    6160e90 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Copy the full SHA
    b03cf1f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    96694e4 View commit details
    Browse the repository at this point in the history
  3. test(node-unit/mocha.spec.js): Refactor and beef up tests

    Migrated `Mocha#addFiles` here. Created `Mocha#loadFiles`. Added chainable tests where applicable.
    Refactored.
    plroebuck committed Feb 14, 2019
    Copy the full SHA
    43ec922 View commit details
    Browse the repository at this point in the history
  4. test(unit/mocha.spec.js): Add missing chainable tests

    Migrated `Mocha#addFile` to "node-unit". Added missing chainable tests for `Mocha#allowUncaught`,
    `Mocha#bail`, `Mocha#delay`, and `Mocha#noHighlighting`.
    plroebuck committed Feb 14, 2019
    Copy the full SHA
    cbef1e3 View commit details
    Browse the repository at this point in the history