Commit 52fe9fd
committed
test(angular): resolve flaky explorer tests and fix text renderer stringification
- Statically import and provide @a2ui/markdown-it in test_utils.ts to avoid dynamic import chunk loading latency under Karma headless browsers in resource-constrained CI.
- Ensure TextComponent (v0.9) converts the text prop value to a string before passing to the Markdown renderer, preventing validation failures on numeric bound properties.1 parent 811a3a2 commit 52fe9fd
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- renderers/angular
- a2ui_explorer/src/app/tests/utils
- src/v0_9/catalog/basic
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments