mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove viewer wrong behavior test if you want not have the toolbar there are other properties
This commit is contained in:
@@ -455,10 +455,6 @@ describe('ViewerComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should header be NOT be present if is not overlay mode', () => {
|
|
||||||
expect(element.querySelector('header')).toBeNull();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should Esc button not hide the viewer if is not overlay mode', () => {
|
it('should Esc button not hide the viewer if is not overlay mode', () => {
|
||||||
EventMock.keyDown(27);
|
EventMock.keyDown(27);
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
Reference in New Issue
Block a user