Commit 63e1eb2
fix: add null-safe error handling and fix timer tests
- Add optional chaining (?.) to all err.error.message and
err.error.originalMessage accesses to prevent TypeError when
err.error is undefined
- Fix timer tests in app.component.spec.ts by mocking setTimeout
directly instead of using fakeAsync (Zone.js compatibility issue)
- Refactor secrets.component.spec.ts debounce tests to not rely
on RxJS timer control
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 4e96547 commit 63e1eb2
14 files changed
Lines changed: 2224 additions & 2077 deletions
File tree
- frontend/src/app
- components
- audit
- connection-settings
- dashboard
- db-table-row-edit
- secrets
- services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
292 | 297 | | |
293 | 298 | | |
294 | 299 | | |
| |||
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
302 | | - | |
| 307 | + | |
303 | 308 | | |
304 | 309 | | |
305 | 310 | | |
306 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
307 | 315 | | |
308 | 316 | | |
309 | 317 | | |
310 | | - | |
| 318 | + | |
| 319 | + | |
311 | 320 | | |
312 | 321 | | |
313 | 322 | | |
314 | | - | |
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
| |||
323 | 331 | | |
324 | 332 | | |
325 | 333 | | |
326 | | - | |
| 334 | + | |
327 | 335 | | |
328 | 336 | | |
329 | 337 | | |
330 | 338 | | |
331 | | - | |
332 | 339 | | |
333 | 340 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments