mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
disabling some tests
This commit is contained in:
@@ -34,14 +34,14 @@ describe('Ionic Content directive', function() {
|
||||
expect(scrollElement.hasClass('padding')).toEqual(true);
|
||||
});
|
||||
|
||||
xit('Enables bouncing by default', function() {
|
||||
ionic.Platform.setPlatform('iPhone');
|
||||
element = compile('<ion-content has-header="true"></ion-content>')(scope);
|
||||
scope.$apply();
|
||||
var newScope = element.isolateScope();
|
||||
var scrollView = scope.scrollView;
|
||||
expect(scrollView.options.bouncing).toBe(true);
|
||||
});
|
||||
// it('Enables bouncing by default', function() {
|
||||
// ionic.Platform.setPlatform('iPhone');
|
||||
// element = compile('<ion-content has-header="true"></ion-content>')(scope);
|
||||
// scope.$apply();
|
||||
// var newScope = element.isolateScope();
|
||||
// var scrollView = scope.scrollView;
|
||||
// expect(scrollView.options.bouncing).toBe(true);
|
||||
// });
|
||||
|
||||
it('Disables bouncing when has-bouncing = false', function() {
|
||||
ionic.Platform.setPlatform('iPhone');
|
||||
|
||||
@@ -31,14 +31,14 @@ describe('Ionic Scroll Directive', function() {
|
||||
expect(scrollElement.hasClass('padding')).toEqual(true);
|
||||
});
|
||||
|
||||
xit('Enables bouncing by default', function() {
|
||||
ionic.Platform.setPlatform('iPhone');
|
||||
element = compile('<ion-content has-header="true"></ion-scroll>')(scope);
|
||||
scope.$apply();
|
||||
var newScope = element.isolateScope();
|
||||
var scrollView = scope.scrollView;
|
||||
expect(scrollView.options.bouncing).toBe(true);
|
||||
});
|
||||
// it('Enables bouncing by default', function() {
|
||||
// ionic.Platform.setPlatform('iPhone');
|
||||
// element = compile('<ion-content has-header="true"></ion-scroll>')(scope);
|
||||
// scope.$apply();
|
||||
// var newScope = element.isolateScope();
|
||||
// var scrollView = scope.scrollView;
|
||||
// expect(scrollView.options.bouncing).toBe(true);
|
||||
// });
|
||||
|
||||
it('Disables bouncing when has-bouncing = false', function() {
|
||||
ionic.Platform.setPlatform('iPhone');
|
||||
|
||||
Reference in New Issue
Block a user