You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(@angular/build): add option to dump unit test build output
Debugging the `unit-test` builder can be challenging, particularly when using runners like Vitest that rely on virtual or in-memory files for test setup and execution. It is difficult to inspect the final build artifacts that are passed to the test runner.
This commit introduces a new hidden boolean option, `dumpVirtualFiles`, to the `unit-test` builder's schema. When this option is enabled, the builder will write the full build output to a directory within the project's cache (`.angular/cache/<project-name>/unit-test/output-files/`).
This provides a crucial debugging mechanism, allowing developers to inspect the exact contents of the files being used in the test execution, which helps in troubleshooting complex configuration and build-related problems.
0 commit comments