mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
Source Mapping is not working on test debugging (#1931)
* coverage single components run fix * remove spec.ts from coverage * make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test * move tslint on the main folder of any component * remove build:w from readme * stop build tslint error also in spec files * clear karma file from unnecessary files * add set -f for build all script in order to accept * * fix lint problem and failing tests * fix failing test search component * add loader test for viewer * fix tslint error userinfo * --max_old_space_size=2048 remove * fix tslint error uploader unused EventEmitter * remove spec|index|.*mock|.*model|.*event from coverage
This commit is contained in:
committed by
Eugenio Romano
parent
ed30b74ce6
commit
282e64f93d
@@ -58,7 +58,6 @@ export class AlfrescoSearchComponent implements OnChanges, OnInit {
|
||||
@Output()
|
||||
preview: EventEmitter<any> = new EventEmitter<any>();
|
||||
|
||||
results: any = null;
|
||||
pagination: Pagination;
|
||||
errorMessage;
|
||||
queryParamName = 'q';
|
||||
@@ -120,14 +119,12 @@ export class AlfrescoSearchComponent implements OnChanges, OnInit {
|
||||
.subscribe(
|
||||
results => {
|
||||
this.nodeResults = results;
|
||||
this.results = results.list.entries;
|
||||
this.pagination = results.list.pagination;
|
||||
this.resultsLoad.emit(this.results);
|
||||
this.resultsLoad.emit(results.list.entries);
|
||||
this.errorMessage = null;
|
||||
},
|
||||
error => {
|
||||
if (error.status !== 400) {
|
||||
this.results = null;
|
||||
this.errorMessage = <any>error;
|
||||
this.resultsLoad.error(error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user