Skip to content

Commit

Permalink
Honestly i'm going on just for the challenge now'
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Dec 22, 2023
1 parent 5ff99eb commit e951e93
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,6 @@ describe('ContentMetadataComponent', () => {
});

it('should load the group properties on node change', () => {
getGroupedPropertiesSpy;

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

expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset');
Expand All @@ -748,7 +746,6 @@ describe('ContentMetadataComponent', () => {
}
];
component.preset = presetConfig;
getGroupedPropertiesSpy;

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

Expand Down Expand Up @@ -823,7 +820,6 @@ describe('ContentMetadataComponent', () => {
});

it('should revert changes for getGroupedProperties panel on cancel', () => {
getGroupedPropertiesSpy;
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
component.onCancelGroupEdit({} as CardViewGroup);
expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset');
Expand Down

0 comments on commit e951e93

Please sign in to comment.