[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,8 +15,8 @@
* limitations under the License.
*/
import { HttpClientModule } from '@angular/common/http';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpModule } from '@angular/http';
import { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';
import { providers } from '../../../index';
import { MaterialModule } from '../../material.module';
@@ -37,7 +37,7 @@ describe('LanguageMenuComponent', () => {
TestBed.configureTestingModule({
imports: [
MaterialModule,
HttpModule,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,