mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Progress on #37
This commit is contained in:
@ -10,8 +10,8 @@ describe('NavController', function() {
|
||||
},
|
||||
attach: function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
beforeEach(function() {
|
||||
navBarEl = document.createElement('div');
|
||||
|
||||
@ -8,7 +8,7 @@ describe('TabBarController', function() {
|
||||
el: tabEl.get(0)
|
||||
})
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
it('Should add Controllers', function() {
|
||||
ctrl.addController({
|
||||
@ -82,4 +82,4 @@ describe('TabBarController', function() {
|
||||
expect(ctrl.getSelectedController()).toBe(ctrl.getController(0));
|
||||
});
|
||||
|
||||
})
|
||||
});
|
||||
|
||||
@ -80,7 +80,7 @@ describe('TabBar view', function() {
|
||||
|
||||
tabBar.destroy();
|
||||
|
||||
var event = new CustomEvent('tap', {
|
||||
event = new CustomEvent('tap', {
|
||||
target: item.el
|
||||
});
|
||||
item.el.dispatchEvent(event);
|
||||
@ -129,7 +129,7 @@ describe('TabBarItem view', function() {
|
||||
|
||||
item.destroy();
|
||||
|
||||
var event = new CustomEvent('tap', {
|
||||
event = new CustomEvent('tap', {
|
||||
target: item.el
|
||||
});
|
||||
item.el.dispatchEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user