Skip to content

Conversation

@hainenber
Copy link
Contributor

PR Checklist

Overview

Fixes the issue with timeout chain call in describe suite doesn't correctly override the config for inner/nested suite and test cases.

@hainenber hainenber changed the title Fix/allow chain call timeout to override nested items timeout fix: allow chain call timeout to override nested items timeout Jan 4, 2026
@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.45%. Comparing base (e06cce7) to head (1b4d6e5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5612      +/-   ##
==========================================
+ Coverage   88.40%   88.45%   +0.05%     
==========================================
  Files          66       66              
  Lines        4787     4791       +4     
  Branches      977      977              
==========================================
+ Hits         4232     4238       +6     
+ Misses        555      553       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mark-wiemer mark-wiemer added the status: waiting for author waiting on response from OP or other posters - more information needed label Jan 4, 2026
@mark-wiemer mark-wiemer removed the status: waiting for author waiting on response from OP or other posters - more information needed label Jan 4, 2026
@mark-wiemer mark-wiemer added the status: needs review a maintainer should (re-)review this pull request label Jan 4, 2026
@mark-wiemer mark-wiemer self-assigned this Jan 4, 2026
@mark-wiemer mark-wiemer added this to the v12.x milestone Jan 4, 2026
@mark-wiemer mark-wiemer removed the status: needs review a maintainer should (re-)review this pull request label Jan 14, 2026
Copy link
Member

@mark-wiemer mark-wiemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very close :)

@hainenber hainenber requested a review from mark-wiemer January 15, 2026 14:19
Copy link
Member

@mark-wiemer mark-wiemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I'll give this a few business days for @JoshuaKGoldberg to review :)

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit, I was surprised this solution worked. But it does make sense 🙂 nicely done!

@mark-wiemer mark-wiemer merged commit 5525da6 into mochajs:main Jan 23, 2026
79 checks passed
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug: timeout() chain call on describe not working as expected

4 participants