Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a365152

Browse files
committed
chore($http): disable flaky JSONP test
See #9185
1 parent c59da09 commit a365152

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/ng/http.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -671,12 +671,13 @@ function $HttpProvider() {
671671
expect(data.getText()).toMatch(/Hello, \$http!/);
672672
});
673673
674-
it('should make a JSONP request to angularjs.org', function() {
675-
sampleJsonpBtn.click();
676-
fetchBtn.click();
677-
expect(status.getText()).toMatch('200');
678-
expect(data.getText()).toMatch(/Super Hero!/);
679-
});
674+
// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185
675+
// it('should make a JSONP request to angularjs.org', function() {
676+
// sampleJsonpBtn.click();
677+
// fetchBtn.click();
678+
// expect(status.getText()).toMatch('200');
679+
// expect(data.getText()).toMatch(/Super Hero!/);
680+
// });
680681
681682
it('should make JSONP request to invalid URL and invoke the error handler',
682683
function() {

0 commit comments

Comments
 (0)