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

Upgrade mocha to version 7.0.0 #27

Merged
merged 1 commit into from Jan 5, 2020
Merged

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jan 5, 2020

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ mocha (^6.0.0 → ^7.0.0) · Repo · Changelog

Release Notes

7.0.0

7.0.0 / 2020-01-05

💥 Breaking Changes

  • #3885: Drop Node.js v6.x support (@mojosoeun)
  • #3890: Remove Node.js debug-related flags --debug/--debug-brk and deprecate debug argument (@juergba)
  • #3962: Changes to command-line options (@ParkSB):
    • --list-interfaces replaces --interfaces
    • --list-reporters replaces --reporters
  • Hook pattern of this.skip() (@juergba):
    • #3859: When conditionally skipping in a it test, related afterEach hooks are now executed
    • #3741: When conditionally skipping in a beforeEach hook, subsequent inner beforeEach hooks are now skipped and related afterEach hooks are executed
    • #4136: Disallow this.skip() within after hooks
  • #3967: Remove deprecated getOptions() and lib/cli/options.js (@juergba)
  • #4083: Uncaught exception in pending test: don't swallow, but retrospectively fail the test for correct exit code (@juergba)
  • #4004: Align Mocha constructor's option names with command-line options (@juergba)

🎉 Enhancements

  • #3980: Refactor and improve --watch mode with chokidar (@geigerzaehler):
    • adds command-line options --watch-files and --watch-ignore
    • removes --watch-extensions
  • #3979: Type "rs\n" to restart tests (@broofa)

📠 Deprecations

These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

  • #3968: Deprecate legacy configuration via mocha.opts (@juergba)

🐛 Fixes

🔍 Coverage

📖 Documentation

🔩 Other

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jan 5, 2020
@papandreou papandreou merged commit 17ef1e6 into master Jan 5, 2020
@depfu depfu bot deleted the depfu/update/npm/mocha-7.0.0 branch January 5, 2020 20:31
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f36b08f on depfu/update/npm/mocha-7.0.0 into ef33b3a on master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants