Skip to content

Commit f6a6efd

Browse files
clydinalan-agius4
authored andcommitted
refactor(@angular/build): modularize unit-test builder with runner-specific logic
The main `unit-test` builder is refactored to act as a dispatcher, delegating the core execution to runner-specific implementations. This change significantly improves the structure and maintainability of the testing infrastructure. Key changes: - A new `runners` directory is created within the `unit-test` builder to house runner-specific logic. - All Vitest-related logic is extracted from the main builder and moved into `runners/vitest/`. - The Karma bridge is moved into `runners/karma/`. - A new `test-discovery.ts` file is introduced to centralize test finding logic, with a TODO to move the implementation there in the future.
1 parent 41f6520 commit f6a6efd

File tree

6 files changed

+441
-400
lines changed

6 files changed

+441
-400
lines changed

0 commit comments

Comments
 (0)