Commit 42ebf66
Simplify unit tests to avoid DOM rendering issues
- Removed fixture.detectChanges() calls that require Angular Material modules
- Tests now focus on component logic and input/output properties
- Removed DOM queries that would fail without proper Angular Material module imports
- Tests verify component properties, form acceptance, event emitters, and default values
- This aligns with the NO_ERRORS_SCHEMA approach used in parent component tests
Co-authored-by: renemadsen <[email protected]>1 parent 48f23e7 commit 42ebf66
File tree
2 files changed
+23
-51
lines changed- eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/assigned-site/tabs
2 files changed
+23
-51
lines changedLines changed: 8 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
89 | 82 | | |
90 | 83 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 84 | + | |
| 85 | + | |
99 | 86 | | |
100 | 87 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
109 | 91 | | |
110 | 92 | | |
Lines changed: 15 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 67 | + | |
| 68 | + | |
85 | 69 | | |
86 | 70 | | |
87 | 71 | | |
| |||
96 | 80 | | |
97 | 81 | | |
98 | 82 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 83 | + | |
| 84 | + | |
103 | 85 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 86 | + | |
| 87 | + | |
107 | 88 | | |
108 | 89 | | |
109 | 90 | | |
110 | 91 | | |
111 | 92 | | |
112 | 93 | | |
113 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
114 | 104 | | |
0 commit comments