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

test: Updated koa-router to tests to handle bug fixes from 13.0.1 #2578

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

bizob2828
Copy link
Member

Description

koa router had two fixes: koajs/router#189 and koajs/router#183 which broke our versioned tests. This PR handles the nuance from 13.0.1+

How to Test

npm run versioned:internal koa

Related Issues

I know a fix was made in #2576 but there was still one failing test, this fixes both.

@bizob2828 bizob2828 added the dev:tests Indicates only changes to tests label Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.18%. Comparing base (f44a99b) to head (72cf908).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2578      +/-   ##
==========================================
- Coverage   97.22%   97.18%   -0.05%     
==========================================
  Files         291      291              
  Lines       45932    45932              
==========================================
- Hits        44659    44639      -20     
- Misses       1273     1293      +20     
Flag Coverage Δ
integration-tests-cjs-18.x 74.19% <ø> (+<0.01%) ⬆️
integration-tests-cjs-20.x 74.19% <ø> (ø)
integration-tests-cjs-22.x 74.22% <ø> (-0.01%) ⬇️
integration-tests-esm-18.x 49.69% <ø> (ø)
integration-tests-esm-20.x 49.69% <ø> (ø)
integration-tests-esm-22.x 49.72% <ø> (ø)
unit-tests-18.x 88.88% <ø> (ø)
unit-tests-20.x 88.88% <ø> (ø)
unit-tests-22.x 88.89% <ø> (ø)
versioned-tests-18.x 78.95% <ø> (-0.18%) ⬇️
versioned-tests-20.x 78.96% <ø> (-0.18%) ⬇️
versioned-tests-22.x 78.99% <ø> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@bizob2828 bizob2828 merged commit a28e2e6 into newrelic:main Sep 16, 2024
28 of 29 checks passed
@bizob2828 bizob2828 deleted the fix-koa-router-tests branch September 16, 2024 20:55
sumitsuthar pushed a commit to k2io/fork-node-newrelic that referenced this pull request Sep 20, 2024
sumitsuthar added a commit to k2io/fork-node-newrelic that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:tests Indicates only changes to tests
Projects
Status: Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

2 participants