Skip to content

Add \providecommand and tests - #1555

Merged
dpvc merged 1 commit into
developfrom
feature/providecommand
Sep 1, 2026
Merged

Add \providecommand and tests#1555
dpvc merged 1 commit into
developfrom
feature/providecommand

Conversation

@dpvc

@dpvc dpvc commented Aug 27, 2026

Copy link
Copy Markdown
Member

This PR implements the \providecommand macro requested in mathjax/MathJax#3603. This is an easy addition to the newcommand package. I added a test for it as well.

Resolves issue mathjax/MathJax#3603.

@dpvc
dpvc requested a review from zorkow August 27, 2026 15:29
@dpvc dpvc added this to the v4.2 milestone Aug 27, 2026
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.03%. Comparing base (c50078e) to head (3991366).
⚠️ Report is 25 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1555      +/-   ##
===========================================
- Coverage    87.03%   87.03%   -0.01%     
===========================================
  Files          390      390              
  Lines        88120    88122       +2     
  Branches      5045     5043       -2     
===========================================
+ Hits         76699    76700       +1     
+ Misses       11421    11402      -19     
- Partials         0       20      +20     

☔ View full report in Codecov by Harness.
📢 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.

@zorkow zorkow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm.

@dpvc
dpvc merged commit fc94595 into develop Sep 1, 2026
3 checks passed
@dpvc
dpvc deleted the feature/providecommand branch September 1, 2026 16:36
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.

2 participants