Repository navigation
Commit 6a96a40
refactor(forms): modernize value accessor integration tests
Migrate the value accessor integration spec to current Angular patterns:
- use standalone fixtures that import only the forms module they need,
instead of declaring them through an `initTest` helper
- replace `*ngFor`/`*ngIf` with `@for`/`@if`
- use `inject()` instead of constructor injection
The reactive and template integration specs reuse two of these fixtures and
are updated to create them directly.
(cherry picked from commit de47371)1 parent 31bea13 commit 6a96a40
3 files changed
Lines changed: 194 additions & 175 deletions
File tree
- packages/forms/test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
823 | | - | |
| 823 | + | |
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | | - | |
| 1386 | + | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
| |||
0 commit comments