[ADF-1868] Update to Angular 5 (#2606)

* Angular 5.0.0 update

* fix core http import

* split language html from ts

* http deprecation module change

* fix test core

* fix analytics api

* update dependency

* exclude breadcrumb object picker test

* fix viewer and common new test

* fix test cs

* fix tasklist test

* fix demo shell angular 5

* fix translate

* dix search test

* restore files demo shell

* update tsconfig

* rebuild automatic prebuild theme

* Fix breadcrumb tests

* Fix tests, the right way
This commit is contained in:
Eugenio Romano
2017-11-06 14:23:46 +00:00
committed by GitHub
parent 7146ee51a2
commit 9f3ea6ea71
62 changed files with 723 additions and 704 deletions

View File

@@ -15,9 +15,9 @@
* limitations under the License.
*/
import { HttpClientModule } from '@angular/common/http';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpModule } from '@angular/http';
import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { MaterialModule } from '../../material.module';
import { AppConfigService } from '../../services/app-config.service';
@@ -56,7 +56,7 @@ describe('PaginationComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
HttpModule,
HttpClientModule,
MaterialModule,
TranslateModule.forRoot({
loader: {