Skip to content

Remove deprecated Runner signature - #4861

Merged
juergba merged 1 commit into
masterfrom
juergba/runner
Apr 1, 2022
Merged

juergba merged 1 commit into
masterfrom
juergba/runner

Conversation

@juergba

@juergba juergba commented Mar 30, 2022

Copy link
Copy Markdown
Contributor

Description

In Mocha v9.0.0 the Runner constructor signature Runner(suite: Suite, delay: boolean) has been deprecated, see #4646.

Description of the Change

We remove mentioned Runner(suite: Suite, delay: boolean).

Instead use an option object: Runner(suite: Suite, {delay: boolean}).

@juergba juergba added semver-major implementation requires increase of "major" version number; "breaking changes" type: cleanup a refactor labels Mar 30, 2022
@juergba juergba added this to the v10.0.0 milestone Mar 30, 2022
@juergba juergba self-assigned this Mar 30, 2022
@juergba
juergba merged commit b7b849b into master Apr 1, 2022
@juergba
juergba deleted the juergba/runner branch April 1, 2022 06:52
lennonnikolas pushed a commit to lennonnikolas/mocha that referenced this pull request Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-major implementation requires increase of "major" version number; "breaking changes" type: cleanup a refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant