Commit 3562676
Fix inject() test isolation: reset cached controller services between specs
controller("dummy") returns a cached class whose $class.services array
persists across test specs. Without cleanup, each inject() test inherits
accumulated service names from prior tests, causing 3 of 4 specs to fail.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent cb0d4a7 commit 3562676
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
| |||
0 commit comments