Honestly i'm going on just for the challenge now'

This commit is contained in:
Vito Albano
2024-03-20 09:21:46 +00:00
parent 7d541eb7a9
commit 37d23aa8b2
@@ -695,8 +695,6 @@ describe('ContentMetadataComponent', () => {
}); });
it('should load the group properties on node change', () => { it('should load the group properties on node change', () => {
getGroupedPropertiesSpy;
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) }); component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset'); expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset');
@@ -719,7 +717,6 @@ describe('ContentMetadataComponent', () => {
} }
]; ];
component.preset = presetConfig; component.preset = presetConfig;
getGroupedPropertiesSpy;
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) }); component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
@@ -790,7 +787,6 @@ describe('ContentMetadataComponent', () => {
}); });
it('should revert changes for getGroupedProperties panel on cancel', () => { it('should revert changes for getGroupedProperties panel on cancel', () => {
getGroupedPropertiesSpy;
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) }); component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
component.readOnly = false; component.readOnly = false;
fixture.detectChanges(); fixture.detectChanges();