Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test(configuration): refactor tests for env- and file-based config to separate files#6759

Merged
maryliag merged 2 commits into
open-telemetry:mainfrom
trentm:trentm-conf-test-refactor
May 25, 2026
Merged

test(configuration): refactor tests for env- and file-based config to separate files#6759
maryliag merged 2 commits into
open-telemetry:mainfrom
trentm:trentm-conf-test-refactor

Conversation

@trentm
Copy link
Copy Markdown
Contributor

@trentm trentm commented May 23, 2026

ConfigFactory.test.ts was >2500 lines, which was making maint a little labourious.
No functional change.

Definitely ignore whitespace when looking at the diff. I removed one nested describe(... so most code is dedented by 2 spaces.

trentm added 2 commits May 22, 2026 16:58
… separate files

ConfigFactory.test.ts was >2500 lines, which was making maint a little labourious.
No functional change.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.95%. Comparing base (3f1a493) to head (6a188de).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6759   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files         377      377           
  Lines       12743    12743           
  Branches     2896     2896           
=======================================
  Hits        12100    12100           
  Misses        643      643           
🚀 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.

@maryliag maryliag added this pull request to the merge queue May 25, 2026
Merged via the queue into open-telemetry:main with commit c350924 May 25, 2026
31 of 32 checks passed
@trentm trentm deleted the trentm-conf-test-refactor branch May 25, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants