Skip to content

Commit

Permalink
[ACS-8001] fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-web-ua committed Jul 30, 2024
1 parent 195e0e0 commit 7c4107b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,6 @@ describe('ContentMetadataComponent', () => {
});

it('should hide card views group when the grouped properties are empty', async () => {
getGroupedPropertiesSpy.and.stub();

component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });

fixture.detectChanges();
Expand All @@ -832,8 +830,6 @@ describe('ContentMetadataComponent', () => {

it('should display card views group when there is at least one property that is not empty', async () => {
component.expanded = true;
getGroupedPropertiesSpy.and.stub();

component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });

fixture.detectChanges();
Expand Down Expand Up @@ -1022,6 +1018,7 @@ describe('ContentMetadataComponent', () => {
component.expanded = true;
component.preset = 'default';
getGroupedPropertiesSpy.and.callThrough();
getBasicPropertiesSpy.and.callThrough();
});

it('should show Versionable with given content-metadata config', async () => {
Expand Down

0 comments on commit 7c4107b

Please sign in to comment.