Skip to content

fix(@angular/build): direct check include file exists in unit-test discovery#31547

Merged
clydin merged 1 commit intoangular:mainfrom
clydin:unit-test/test-discovery-static-file
Oct 22, 2025
Merged

fix(@angular/build): direct check include file exists in unit-test discovery#31547
clydin merged 1 commit intoangular:mainfrom
clydin:unit-test/test-discovery-static-file

Conversation

@clydin
Copy link
Member

@clydin clydin commented Oct 21, 2025

When discovering unit-test files, the include option values that are not dynamic patterns will now be checked directly if they exist on the file system. This avoids glob calls for specific files and helps avoid Windows pathing issues with glob syntax.

@clydin clydin added the target: major This PR is targeted for the next major release label Oct 21, 2025
…scovery

When discovering unit-test files, the `include` option values that are
not dynamic patterns will now be checked directly if they exist on the
file system. This avoids glob calls for specific files and helps avoid
Windows pathing issues with glob syntax.
@clydin clydin force-pushed the unit-test/test-discovery-static-file branch from 85db436 to c59e451 Compare October 21, 2025 18:55
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 21, 2025
@clydin clydin merged commit bf468e1 into angular:main Oct 22, 2025
31 checks passed
@clydin clydin deleted the unit-test/test-discovery-static-file branch October 22, 2025 01:02
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 22, 2025
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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