a2ui-project / a2ui-project/a2ui
Create 1P testing utilities for Angular
Đang mở
component: angular renderer
P2
type: feature/enhancement
- Ngôn ngữ chính
- TypeScript
- Star
- 16.4k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 134
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.