Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 29, 2025

No description provided.

…indows compatibility

Ensures that project and workspace root paths are converted to POSIX format before being used to determine relative test file paths. This fixes an issue on Windows where mixed path separators (backslashes in roots, forward slashes in file paths) caused test discovery to fail to correctly generate entry point names.
@clydin clydin force-pushed the unit-test/win32-improvements branch 6 times, most recently from a7437ae to 473b7b5 Compare December 29, 2025 18:04
…ng non-C drives

Ensures that test files requested via root-relative paths (common on Windows with non-C drives or specific Vitest configurations) are correctly resolved to their absolute path entry points. This fix prevents 'Cannot find module' errors by explicitly checking the test entry point map after normalizing the path to an absolute POSIX path.
@clydin clydin force-pushed the unit-test/win32-improvements branch from f17e000 to b47fea6 Compare December 29, 2025 18:27
@clydin clydin marked this pull request as ready for review December 29, 2025 18:27
@clydin clydin added target: patch This PR is targeted for the next patch release target: minor This PR is targeted for the next minor release action: review The PR is still awaiting reviews from at least one requested reviewer and removed target: patch This PR is targeted for the next patch release labels Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/build target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant