Skip to content

Conversation

cexbrayat
Copy link
Member

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the new behavior?

Similar to 3478aa3 but for vitest.

This avoids having to manually list .angular and all config files in angular.json

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Member

@clydin clydin left a comment

Choose a reason for hiding this comment

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

Thank you again for the contribution.

Since the .angular directory should be covered with the introduction of the default Vitest coverage excludes, maybe reword the commit message around providing default excludes?

@cexbrayat cexbrayat force-pushed the fix/exclude-coverage-vitest branch from 1ecfa9d to 6f9c53a Compare October 2, 2025 16:45
@cexbrayat
Copy link
Member Author

@clydin I updated the PR, PTAL

Copy link
Member

@clydin clydin left a comment

Choose a reason for hiding this comment

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

LGTM.

Can you rebase to fix the conflicts?

@cexbrayat cexbrayat force-pushed the fix/exclude-coverage-vitest branch from 6f9c53a to 65628e8 Compare October 2, 2025 18:26
@angular-robot angular-robot bot requested a review from clydin October 2, 2025 18:26
@cexbrayat
Copy link
Member Author

@clydin Done, thanks for the review

@clydin
Copy link
Member

clydin commented Oct 2, 2025

Looks like you might have missed a conflict in the rebase.

Ensures vitest coverage uses default exclude patterns in addition to user defined ones.

This provides a behavior similar to 3478aa3 but for vitest, as the default exclusions contain directories starting with a dot.
@cexbrayat cexbrayat force-pushed the fix/exclude-coverage-vitest branch from 65628e8 to a59bff8 Compare October 2, 2025 19:05
@clydin clydin added the target: major This PR is targeted for the next major release label Oct 2, 2025
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Oct 2, 2025
@clydin clydin merged commit d0787c1 into angular:main Oct 2, 2025
57 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants