Skip to content

test: cover the resolver factories - #6

Merged
tyrsson merged 1 commit into
1.0.xfrom
test/resolver-factories
Oct 1, 2026
Merged

tyrsson merged 1 commit into
1.0.xfrom
test/resolver-factories

Conversation

@tyrsson

@tyrsson tyrsson commented Oct 1, 2026

Copy link
Copy Markdown
Member

Types of changes

  • QA improvement (tests only, no behavior change)

Checklist:

  • I have added tests for my changes.
  • All new and existing tests passed.
  • This pull request targets the correct branch. (1.0.x: nothing has been released from this package yet.)

Description

ThemeResolverFactory and AggregateResolverFactory had no tests, which left 16 lines of the resolver PR (#4) uncovered and is why codecov/patch failed there. Adds unit tests for both, including the exact attach priorities (100, 50, 1).

How has this been tested?

mago format --check, lint, analyze, guard exit 0. Line coverage 100% (67/67), 49 unit tests, mutation testing 62/62 killed, MSI 100%.

ThemeResolverFactory and AggregateResolverFactory had no tests, which left 16 lines of the resolver PR uncovered. Adds unit tests for both, including the attach priorities.

Signed-off-by: Joey Smith <jsmith@webinertia.net>
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tyrsson
tyrsson merged commit d0ffc68 into 1.0.x Oct 1, 2026
12 checks passed
@tyrsson
tyrsson deleted the test/resolver-factories branch October 1, 2026 07:44
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.

1 participant