a2ui-project / a2ui-project/a2ui
Create 1P testing utilities for Angular
- Lenguaje dominante
- TypeScript
- Estrellas
- 16.4k
- Forks
- 1.3k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 134
Descripción
Need a way to ergonomically set props on components during unit tests. This should be part of a testing public API
Something like
```
setProps(componentInstance, {
prop1: 'foo',
prop2: 42,
})
```
and setProps would take care of providing a type safe signature, also create the BoundProperty objects.
Guía de contribución
Línea de trabajo
Look for existing testing utilities in the codebase, likely under a directory like `testing/` or `src/testing/`. Understand how components are currently tested and how BoundProperty objects are created. The goal is to design and implement a `setProps` function that integrates with Angular's testing APIs and provides type safety.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100