a2ui-project / a2ui-project/a2ui

Create 1P testing utilities for Angular

Aperta
#1,519 1 commento 0 reazioni 1 assegnatario Assegnata a @josemontespg Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.