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:
Eugenio Romano
2017-06-04 23:36:46 +01:00
committed by Eugenio Romano
parent ed30b74ce6
commit 282e64f93d
220 changed files with 1799 additions and 2905 deletions

View File

@@ -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);
}