X Tutup
Skip to content

Commit d900f5c

Browse files
committed
chore(tests): lengthen timeout for templateUrl test
This was flaking on Travis occasionally because the TestComponentBuilder is actually doing an XHR, and it was slow on the Edge browser. Closes angular#7293
1 parent 391a9ed commit d900f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular2/test/testing/testing_public_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,6 @@ export function main() {
478478
expect(componentFixture.debugElement.nativeElement)
479479
.toHaveText('from external template\n');
480480
});
481-
}));
481+
}), 10000); // Long timeout here because this test makes an actual XHR, and is slow on Edge.
482482
});
483483
}

0 commit comments

Comments
 (0)
X Tutup