Skip to content

Update mocha/chai/sinon ecosystem - #534

Merged
davidjgoss merged 2 commits into
mainfrom
renovate/mochachaisinon-ecosystem
Jul 23, 2026
Merged

Update mocha/chai/sinon ecosystem#534
davidjgoss merged 2 commits into
mainfrom
renovate/mochachaisinon-ecosystem

Conversation

@renovate

@renovate renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@types/mocha (source) 10.0.610.0.10 age confidence
chai-dom 1.12.01.12.1 age confidence
mocha (source) 11.2.211.7.6 age confidence
sinon (source) 22.0.022.1.0 age confidence

Release Notes

nathanboktae/chai-dom (chai-dom)

v1.12.1

Compare Source

mochajs/mocha (mocha)

v11.7.6

Compare Source

🩹 Fixes
  • make describe().timeout() work (aafe6fd)
  • test: replace wmic usage with native Windows API (#​5694) (73ebdfa)
🧹 Chores

v11.7.5

Compare Source

🩹 Fixes
🧹 Chores

v11.7.4

Compare Source

🩹 Fixes
📚 Documentation
  • migrate remaining legacy wiki pages to main documentation (#​5465) (bff9166)
🧹 Chores

v11.7.3

Compare Source

🩹 Fixes
  • use original require() error for TS files if ERR_UNKNOWN_FILE_EXTENSION (#​5408) (ebdbc48)
📚 Documentation
🤖 Automation
  • deps: bump actions/setup-node in the github-actions group (#​5459) (48c6f40)

v11.7.2

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores
🤖 Automation
  • deps: bump actions/checkout in the github-actions group (#​5419) (03ac2d0)

v11.7.1

Compare Source

🩹 Fixes
🧹 Chores

v11.7.0

Compare Source

🌟 Features

v11.6.0

Compare Source

🌟 Features

v11.5.0

Compare Source

🌟 Features

v11.4.0

Compare Source

🌟 Features
📚 Documentation
  • added CHANGELOG.md note around 11.1 yargs-parser update (#​5362) (618415d)

v11.3.0

Compare Source

🌟 Features
📚 Documentation
🧹 Chores
sinonjs/sinon (sinon)

v22.1.0

Compare Source

  • d36e921b
    fix: let returns override returnsArg (王胜)

    Signed-off-by: 王胜 <2318857637@​qq.com>

  • 40c4caa0
    fix: align restoreObject docs test with idempotent behavior (#​2745) (Julia Miller)

    restoreObject was made idempotent in #​2737 — it no longer throws
    for objects with no restorable methods. Updates the docs page
    and its corresponding test to reflect this.

  • a68dac19
    fix: throw a clear error when throwArg index equals the argument count (#​2743) (spokodev)
    • fix: throw a clear error when throwArg index equals the argument count

    spyCall.throwArg(pos) guarded with pos > this.args.length, so calling it
    with pos equal to the number of recorded arguments slipped past the guard
    and reached throw this.args[pos], throwing undefined instead of the
    intended TypeError. A thrown undefined cannot be inspected as an Error and
    is reported by test frameworks as no exception thrown.

    Use >= to match ensureArgs in behavior.js and the sibling callArg helpers,
    which already reject an out-of-range index with a clear error.

  • 9ea504e3
    feat: make sinon.restoreObject idempotent (#​2737) (Ilia Choly)

    Passing an object with no live fakes to restoreObject now restores
    nothing instead of throwing, giving it symmetry with sinon.restore()
    and sandbox.restore(). The strict "found no methods" check is retained
    for spy(object) and stub(object), which now use a dedicated
    walkObjectStrict export, while restoreObject uses the loose walkObject.
    Passing a falsy value still throws.

    Fixes #​2736

  • 4db4feff
    fix: preserve fake undefined argument validation (Vishal Kumar Singh)
  • 755a40d7
    fix: isolate callId counter per sandbox for parallel test support (Vishal Kumar Singh)

    The global callId counter in proxy-invoke.js caused calledImmediatelyBefore
    and calledImmediatelyAfter to fail when tests run in parallel with separate
    sandboxes. Each sandbox now maintains its own callId counter, passed through
    the spy/stub/fake creation chain via a context object.

    Fixes #​2472

Released by Morgan Roderick on 2026-07-20.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate
renovate Bot force-pushed the renovate/mochachaisinon-ecosystem branch from 1c375bc to 94d8614 Compare July 20, 2026 23:49
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploying react-components with  Cloudflare Pages  Cloudflare Pages

Latest commit: 80ec6c1
Status:⚡️  Build in progress...

View logs

@renovate
renovate Bot force-pushed the renovate/mochachaisinon-ecosystem branch 6 times, most recently from 8dcf528 to 3f12585 Compare July 23, 2026 08:04
@renovate
renovate Bot force-pushed the renovate/mochachaisinon-ecosystem branch from 3f12585 to 80ec6c1 Compare July 23, 2026 09:03
@davidjgoss davidjgoss closed this Jul 23, 2026
@davidjgoss davidjgoss reopened this Jul 23, 2026
@davidjgoss
davidjgoss merged commit 9e00f63 into main Jul 23, 2026
4 of 5 checks passed
@davidjgoss
davidjgoss deleted the renovate/mochachaisinon-ecosystem branch July 23, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant