Commit 86da318
test: fix flaky slide-toggle test with pending timer task
One of the slide-toggle tests has become quite flaky the
last days and after debugging ZoneJS it turns out that
this is related to the `(focus)` event from the `FocusMonitor`
and we can safely improve the stability of the test by removing
the `fakeAsync` which isn't needed anyway.
For reference: Other tests asserting the `click` event on
the slide-toggle native element also have a `tick()`
specified but we don't need to wait for pending timers
anyway.. so we can just remove `fakeAsync .1 parent bdc6811 commit 86da318
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| |||
0 commit comments