mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(dev-infra): disable progressBar test (#60448)
This test often (but inconsitantly) timeouts with ``` Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL) ``` We suspect a racing condition within the RouterTestingHarness. Until this has been investigated, we'll disable this test. PR Close #60448
This commit is contained in:
committed by
Pawel Kozlowski
parent
1dba2a89b0
commit
a1d9e05d7d
@@ -25,7 +25,10 @@ describe('ProgressBarComponent', () => {
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should call progressBar.complete() on route change', async () => {
|
||||
// This test often timeouts
|
||||
// We suspect a racing condition inside the RouterTestingHarness.
|
||||
// Until this has been investigated, we will skip this test.
|
||||
xit('should call progressBar.complete() on route change', async () => {
|
||||
const progressBar = component.progressBar();
|
||||
const progressBarCompleteSpy = spyOn(progressBar, 'complete');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user