a2ui-project / a2ui-project/a2ui
Create 1P testing utilities for Angular
Aperta
component: angular renderer
P2
type: feature/enhancement
- Lingua principale
- TypeScript
- Stelle
- 16.4k
- Fork
- 1.3k
- Merge medio
- 2g 13h
- PR unite (30g)
- 134
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.