remove viewer wrong behavior test if you want not have the toolbar there are other properties

This commit is contained in:
Eugenio Romano
2018-08-10 14:39:25 +01:00
parent 7ceee231bd
commit 7084b2abf6

View File

@@ -455,10 +455,6 @@ describe('ViewerComponent', () => {
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', () => {
EventMock.keyDown(27);
fixture.detectChanges();