Mark `unit-test` builder's `runnerConfig` option as experimental
@clydin ya está trabajando en esto.
Desde el 14/11/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Command
test
Description
Considering the way unit-test builder works, not all Vitest config options are available.
Some options are explicitly detected and the user is warned:
https://github.com/angular/angular-cli/blob/720603223f2e9d1487ce54dac903fe8954bda3a5/packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L81
But there are also some options or configurations that could cause surprising issues.
For example, as of 21.0.0-rc.3, isolate: false can break the tests in browser mode.
Describe the solution you'd like
It would be nice if the option was marked as experimental or at least in dev preview and/or if it would come with a warning.
It would set the expectations right and leave some time for the Angular team and the community to document or fix the rough edges.
Describe alternatives you've considered
In the future @angular/build could either:
- expose a
defineAngularVitestConfigfunction that only allows the subset of Vitest options that are known to be supported by the CLI. - expose a Vitest plugin and give full control for most advanced configs and use cases
- Lenguaje dominante
- TypeScript
- Estrellas
- 27k
- Forks
- 11.8k
- Merge medio
- 16 h 21 min
- PR fusionados (30 d)
- 170
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de angular/angular-cli
-
Can't use an array of hostnames in --allowedHosts cli parameter in @angular/build:dev-server Abiertoarea: @angular/build gemini-triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
angular/angular-cli#33955 ·
-
area: @angular/cli gemini-triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
angular/angular-cli#33055 · 1 comentario · 3 reacciones ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34131 · 1 asignado ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34130 · 1 asignado ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34128 · 1 asignado ·
Todos los issues de angular/angular-cli
Issues similares
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Abiertocategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
-
area:auth FE mvp P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
klasolsson81/jobbliggaren#1788 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
get-convex/migrations#69 ·
-
accessibility angular bug good first issue typescript ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
apache/fineract-backoffice-ui#584 · 1 comentario ·