Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src,test: expand test coverage for urlpattern and fix error #56878

Merged

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Feb 2, 2025

Improve test coverage for URLPattern, fixup a typecheck error, and eliminate an unnecessary UNREACHABLE branch.

@jasnell jasnell requested review from anonrig and legendecas February 2, 2025 04:46
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Feb 2, 2025
@nodejs-github-bot
Copy link
Collaborator

@jasnell jasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 2, 2025
Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.18%. Comparing base (2bd5694) to head (dbb0532).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56878      +/-   ##
==========================================
+ Coverage   89.16%   89.18%   +0.02%     
==========================================
  Files         665      665              
  Lines      192602   192601       -1     
  Branches    37050    37055       +5     
==========================================
+ Hits       171732   171777      +45     
+ Misses      13678    13642      -36     
+ Partials     7192     7182      -10     
Files with missing lines Coverage Δ
src/node_url_pattern.cc 82.52% <100.00%> (+3.74%) ⬆️

... and 32 files with indirect coverage changes

@legendecas legendecas added whatwg-urlpattern and removed whatwg-url Issues and PRs related to the WHATWG URL implementation. labels Feb 2, 2025
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Feb 2, 2025

@juanarbol juanarbol added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 2, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 4, 2025
@nodejs-github-bot nodejs-github-bot merged commit eb11adf into nodejs:main Feb 4, 2025
74 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in eb11adf

targos pushed a commit that referenced this pull request Feb 5, 2025
PR-URL: #56878
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. whatwg-urlpattern
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants