Commit ebb474b
authored
Fix children prop bug in the v0.9 Angular ComponentBinder and improve unit tests to use real models (google#1472)
This PR refactors the Angular ComponentBinder unit tests for the v0.9 specification to use real, live instances of ComponentContext, ComponentModel, and SurfaceModel from @a2ui/web_core, completely eliminating fragile, verbose, and easily out-of-date mocks.
It also addresses two critical bugs identified in the binder service implementation and adds robust validation coverage.1 parent f339789 commit ebb474b
3 files changed
Lines changed: 285 additions & 149 deletions
File tree
- renderers/angular
- src/v0_9/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments