Skip to content

test: update vitest windows subst drive e2e test to use the ng helper and assert success - #34064

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:test-win-fix
Sep 10, 2026
Merged

test: update vitest windows subst drive e2e test to use the ng helper and assert success#34064
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:test-win-fix

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

NG0203 dual-package hazard error no longer occurs under Vitest 5 on the subst drive.

… and assert success

NG0203 dual-package hazard error no longer occurs under Vitest 5 on the subst drive.
@alan-agius4
alan-agius4 requested a review from clydin September 10, 2026 08:13
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Sep 10, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the windows-subst-drive.ts end-to-end test to use the ng helper instead of execAndCaptureError when running ng test. The feedback suggests combining both stdout and stderr into the output string to ensure the test remains resilient if test runner or CLI diagnostics are written to the error stream.

Comment thread tests/e2e/tests/vitest/windows-subst-drive.ts
@alan-agius4 alan-agius4 removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 10, 2026
@alan-agius4
alan-agius4 removed the request for review from clydin September 10, 2026 08:43
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Sep 10, 2026
@alan-agius4
alan-agius4 merged commit 0ad1409 into angular:main Sep 10, 2026
41 of 42 checks passed
@alan-agius4
alan-agius4 deleted the test-win-fix branch September 10, 2026 08:44
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

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 target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants