Skip to content
Snippets Groups Projects
Commit c1544e74 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6314 Add test case

parent ce7bcfb1
No related branches found
No related tags found
No related merge requests found
......@@ -110,8 +110,8 @@ describe('VerticalBinaryFileListComponent', () => {
});
});
describe('attchment header', () => {
it('should show header if there is uri or title', () => {
describe('attachment header', () => {
it('should show header if there is title', () => {
component.title = 'Title';
fixture.detectChanges();
......@@ -119,6 +119,14 @@ describe('VerticalBinaryFileListComponent', () => {
existsAsHtmlElement(fixture, fileListHeader);
});
it('should show header if there is uri', () => {
component.archiveDownloadUri = faker.internet.url();
fixture.detectChanges();
existsAsHtmlElement(fixture, fileListHeader);
});
it('should not show header if there is no uri or title', () => {
component.title = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment