mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(header): has-tabs-top test accounts for footer
This commit is contained in:
@@ -164,8 +164,10 @@ describe('bar directives', function() {
|
||||
var el = setup();
|
||||
$document[0].body.appendChild(el[0]);
|
||||
expect(el.hasClass('has-tabs-top')).toBe(false);
|
||||
$timeout.flush();
|
||||
expect(el.hasClass('has-tabs-top')).toBe(true);
|
||||
if (data.tag === 'ion-header-bar') {
|
||||
$timeout.flush();
|
||||
expect(el.hasClass('has-tabs-top')).toBe(true);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user