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

Commit 3686f45

Browse files
committed
chore($http): disable flaky JSONP test
See #9185
1 parent ad28baa commit 3686f45

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/ng/http.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,13 @@ function $HttpProvider() {
662662
expect(data.getText()).toMatch(/Hello, \$http!/);
663663
});
664664
665-
it('should make a JSONP request to angularjs.org', function() {
666-
sampleJsonpBtn.click();
667-
fetchBtn.click();
668-
expect(status.getText()).toMatch('200');
669-
expect(data.getText()).toMatch(/Super Hero!/);
670-
});
665+
// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185
666+
// it('should make a JSONP request to angularjs.org', function() {
667+
// sampleJsonpBtn.click();
668+
// fetchBtn.click();
669+
// expect(status.getText()).toMatch('200');
670+
// expect(data.getText()).toMatch(/Super Hero!/);
671+
// });
671672
672673
it('should make JSONP request to invalid URL and invoke the error handler',
673674
function() {

0 commit comments

Comments
 (0)