[ADF-2310] Error is thrown if isSelectionValid optional property is not defined (#2957)

* [ADF-2310] Error is thrown if isSelectionValid optional property is not defined

* [ADF-2310] added unit tests for the change and removed unneeded import

* fix tests

* [ADF-2310] add missing async

* [ADF-2310] add more async function to unit tests
This commit is contained in:
suzanadirla
2018-02-20 20:22:21 +02:00
committed by Eugenio Romano
parent 4513cb0e09
commit ed9289d6df
2 changed files with 194 additions and 74 deletions

View File

@@ -128,6 +128,7 @@ export class ContentNodeSelectorPanelComponent implements OnInit {
this.paginationStrategy = PaginationStrategy.Infinite;
this.breadcrumbTransform = this.breadcrumbTransform ? this.breadcrumbTransform : null ;
this.isSelectionValid = this.isSelectionValid ? this.isSelectionValid : defaultValidation;
}
/**