Skip to content

feat: support per-suite and per-test this.allowUncaught()#5981

Open
mostafaNazari702 wants to merge 1 commit into
mochajs:mainfrom
mostafaNazari702:feat/1985-allow-uncaught-per-suite-test
Open

feat: support per-suite and per-test this.allowUncaught()#5981
mostafaNazari702 wants to merge 1 commit into
mochajs:mainfrom
mostafaNazari702:feat/1985-allow-uncaught-per-suite-test

Conversation

@mostafaNazari702
Copy link
Copy Markdown
Contributor

@mostafaNazari702 mostafaNazari702 commented May 19, 2026

PR Checklist

Overview

Added the shape boneskull sketched in #1985

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 90.47619% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.02%. Comparing base (6695fba) to head (7b18d62).

Files with missing lines Patch % Lines
lib/suite.mjs 88.00% 3 Missing ⚠️
lib/context.mjs 66.66% 2 Missing ⚠️
lib/test.mjs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5981      +/-   ##
==========================================
+ Coverage   80.89%   81.02%   +0.12%     
==========================================
  Files          64       64              
  Lines        4602     4659      +57     
  Branches      976     1021      +45     
==========================================
+ Hits         3723     3775      +52     
- Misses        879      884       +5     

☔ 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.

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.

🚀 Feature: Allow hooks to easily set "allowUncaught" flag

1 participant