[AAE-14699] Improved unit test description (#8625)

This commit is contained in:
Ehsan Rezaei
2023-06-06 10:43:13 +02:00
committed by GitHub
parent f549a19fb9
commit dca9ea4cba

View File

@@ -509,7 +509,7 @@ describe('CardViewTextItemComponent', () => {
expect(cardViewUpdateService.update).toHaveBeenCalledWith(property, 'updated-value');
});
it('should trigger the update event if the editedValue is NOT invalid', async () => {
it('should trigger the update event if the editedValue is NOT valid', async () => {
const cardViewUpdateService = TestBed.inject(CardViewUpdateService);
spyOn(cardViewUpdateService, 'update');
component.property.isValid = () => false;